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 *firstChild = [self.childViewControllers objectAtIndex:0];
62
- if ([firstChild isKindOfClass:UINavigationController.class] &&
63
- firstChild.hidesBottomBarWhenPushed) {
64
- [firstChild pushViewController:UIViewController.new animated:NO];
65
- [firstChild popViewControllerAnimated:NO];
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-navigation",
3
- "version": "7.33.2",
3
+ "version": "7.33.3",
4
4
  "description": "React Native Navigation - truly native navigation for iOS and Android",
5
5
  "license": "MIT",
6
6
  "nativePackage": true,