We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c223464 commit e828d82Copy full SHA for e828d82
src/bottom-navigation/index.ios.ts
@@ -52,11 +52,9 @@ class UITabBarControllerImpl extends UITabBarController {
52
public viewDidDisappear(animated: boolean): void {
53
super.viewDidDisappear(animated);
54
55
- if (this._owner) {
56
- const owner = this._owner.get();
57
- if (owner && !owner.parent && owner.isLoaded && !this.presentedViewController) {
58
- owner.callUnloaded();
59
- }
+ const owner = this._owner?.get();
+ if (owner && !owner.parent && owner.isLoaded && !this.presentedViewController) {
+ owner.callUnloaded();
60
}
61
62
0 commit comments