mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Added tintColor property in Image view. It should be used instead of color
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user