Skip to content

Commit 9c51b61

Browse files
committed
Merge branch 'master' of github.com:nativescript-community/ui-material-components
2 parents 295d5ff + 2b01b33 commit 9c51b61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bottom-navigation/index.ios.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ class UITabBarControllerImpl extends UITabBarController {
5151
// @profile
5252
public viewDidDisappear(animated: boolean): void {
5353
super.viewDidDisappear(animated);
54-
const owner = this._owner.get();
54+
55+
const owner = this._owner?.get();
5556
if (owner && !owner.parent && owner.isLoaded && !this.presentedViewController) {
5657
owner.callUnloaded();
5758
}

0 commit comments

Comments
 (0)