react-native-navigation 7.40.2-pretester → 7.40.2-pretester-snapshot.1443

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.
@@ -30,12 +30,20 @@
30
30
  _dotIndicatorPresenter = dotIndicatorPresenter;
31
31
 
32
32
  self = [super initWithLayoutInfo:layoutInfo
33
- creator:creator
34
- options:options
35
- defaultOptions:defaultOptions
36
- presenter:presenter
37
- eventEmitter:eventEmitter
38
- childViewControllers:childViewControllers];
33
+ creator:creator
34
+ options:options
35
+ defaultOptions:defaultOptions
36
+ presenter:presenter
37
+ eventEmitter:eventEmitter
38
+ childViewControllers:childViewControllers];
39
+
40
+ IntNumber *currentTabIndex = options.bottomTabs.currentTabIndex;
41
+ if ([currentTabIndex hasValue]) {
42
+ NSUInteger currentTabIndexValue = [currentTabIndex get];
43
+ _previousTabIndex = currentTabIndexValue;
44
+ _currentTabIndex = currentTabIndexValue;
45
+ }
46
+
39
47
  if (@available(iOS 13.0, *)) {
40
48
  self.tabBar.standardAppearance = [UITabBarAppearance new];
41
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-navigation",
3
- "version": "7.40.2-pretester",
3
+ "version": "7.40.2-pretester-snapshot.1443",
4
4
  "description": "React Native Navigation - truly native navigation for iOS and Android",
5
5
  "license": "MIT",
6
6
  "nativePackage": true,
@@ -77,7 +77,7 @@
77
77
  "@react-native/metro-config": "^0.73.2",
78
78
  "@react-native/babel-preset": "^0.73.18",
79
79
  "@react-native/typescript-config": "^0.73.1",
80
- "@react-native-community/blur": "^3.6.0",
80
+ "@react-native-community/blur": "^4.4.1",
81
81
  "@react-native-community/datetimepicker": "^3.4.7",
82
82
  "@react-native-community/eslint-config": "2.0.0",
83
83
  "@react-native-community/netinfo": "^5.9.4",