FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #3567 from NativeScript/transparent-action-bar · NativeScript/NativeScript@39774cc · GitHub

Commit 39774cc

Browse files
Alexander Vakrilov
authored
Merge pull request #3567 from NativeScript/transparent-action-bar
Android: ActionBar transparent background crashes
2 parents a73ccc3 + 1daf1c8 commit 39774cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tns-core-modules/ui/styling/style.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,9 +1400,9 @@ export class StylePropertyChangedHandler {
14001400
}
14011401

14021402
if (application.android) {
1403-
newValue = newValue.android ? newValue.android : newValue;
1403+
newValue = types.isDefined(newValue.android) ? newValue.android : newValue;
14041404
} else if (application.ios) {
1405-
newValue = newValue.ios ? newValue.ios : newValue;
1405+
newValue = types.isDefined(newValue.ios) ? newValue.ios : newValue;
14061406
}
14071407

14081408
this._applyProperty(view, newValue, _defaultNativeValuesCache[className + property.id]);

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL