Android: ActionBar transparent background crashes

Resolves #3565
This commit is contained in:
Alexander Vakrilov
2017-02-03 11:24:29 +02:00
committed by vakrilov
parent 200b656bb2
commit f5d585a7fe

View File

@@ -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]);