We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb4dad8 commit 324fdceCopy full SHA for 324fdce
tns-core-modules/ui/action-bar/action-bar.ios.ts
@@ -116,7 +116,12 @@ export class ActionBar extends ActionBarBase {
116
const viewController = (<UIViewController>page.ios);
117
const navigationItem: UINavigationItem = viewController.navigationItem;
118
const navController = <UINavigationController>viewController.navigationController;
119
- const navigationBar = navController ? navController.navigationBar : null;
+
120
+ if (!navController) {
121
+ return;
122
+ }
123
124
+ const navigationBar = navController.navigationBar;
125
let previousController: UIViewController;
126
127
// Set Title
@@ -377,4 +382,4 @@ export class ActionBar extends ActionBarBase {
377
382
this.updateFlatness(navBar);
378
383
}
379
384
380
-}
385
+}
0 commit comments