mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
committed by
vakrilov
parent
200b656bb2
commit
f5d585a7fe
@@ -1400,9 +1400,9 @@ export class StylePropertyChangedHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (application.android) {
|
if (application.android) {
|
||||||
newValue = newValue.android ? newValue.android : newValue;
|
newValue = types.isDefined(newValue.android) ? newValue.android : newValue;
|
||||||
} else if (application.ios) {
|
} else if (application.ios) {
|
||||||
newValue = newValue.ios ? newValue.ios : newValue;
|
newValue = types.isDefined(newValue.ios) ? newValue.ios : newValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
this._applyProperty(view, newValue, _defaultNativeValuesCache[className + property.id]);
|
this._applyProperty(view, newValue, _defaultNativeValuesCache[className + property.id]);
|
||||||
|
|||||||
Reference in New Issue
Block a user