Added tintColor property in Image view. It should be used instead of color

This commit is contained in:
Tsvetan Raikov
2016-09-15 19:19:22 +03:00
parent 6bae1716a7
commit 1b568b56ca
9 changed files with 56 additions and 25 deletions

View File

@@ -376,8 +376,7 @@ export var test_tintColor = function () {
var imageColor = utils.ios.getColor(testImage.ios.tintColor);
TKUnit.assert(!imageColor.equals(colorRed), "imageColor expected to be different than tintColor");
}
image.color = colorRed;
image.tintColor = colorRed;
if (image.android) {
TKUnit.assert(testImage.android.getColorFilter() !== null, "tintColor expected to be set to a nonnull value");

View File

@@ -6,14 +6,14 @@
"nativescript": {
"id": "org.nativescript.tests",
"tns-ios": {
"version": "2.2.1"
"version": "2.3.0"
},
"tns-android": {
"version": "2.2.0"
"version": "2.3.0"
}
},
"dependencies": {
"tns-core-modules": "2.0.1"
"tns-core-modules": "2.3.0"
},
"devDependencies": {
"babel-traverse": "6.9.0",