react-native-navigation 7.33.2 → 7.33.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
- (void)viewWillAppear:(BOOL)animated {
|
|
59
59
|
[super viewWillAppear:animated];
|
|
60
60
|
// This hack is needed for cases when the initialized state of the tabBar should be hidden
|
|
61
|
-
UINavigationController *
|
|
62
|
-
if ([
|
|
63
|
-
|
|
64
|
-
[
|
|
65
|
-
[
|
|
61
|
+
UINavigationController *selectedChild = self.selectedViewController;
|
|
62
|
+
if ([selectedChild isKindOfClass:UINavigationController.class] &&
|
|
63
|
+
selectedChild.hidesBottomBarWhenPushed) {
|
|
64
|
+
[selectedChild pushViewController:UIViewController.new animated:NO];
|
|
65
|
+
[selectedChild popViewControllerAnimated:NO];
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
|