hybrid-navigation 2.13.3 → 2.13.4
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.
|
@@ -238,18 +238,18 @@
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
if ([drawer.contentController isKindOfClass:[UITabBarController class]]) {
|
|
241
|
-
UITabBarController *
|
|
242
|
-
if ([
|
|
243
|
-
return (UINavigationController *)
|
|
241
|
+
UITabBarController *tabs = (UITabBarController *)drawer.contentController;
|
|
242
|
+
if ([tabs.selectedViewController isKindOfClass:[UINavigationController class]]) {
|
|
243
|
+
return (UINavigationController *)tabs.selectedViewController;
|
|
244
244
|
}
|
|
245
245
|
return nil;
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
if ([drawer.contentController isKindOfClass:[UINavigationController class]]) {
|
|
249
|
-
return (UINavigationController *)
|
|
249
|
+
return (UINavigationController *)drawer.contentController;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
return
|
|
252
|
+
return drawer.contentController.navigationController;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
-(void)handleNavigation:(NSDictionary *)params {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hybrid-navigation",
|
|
3
3
|
"description": "React Native Navigation that supports seamless navigation between Native and React.",
|
|
4
|
-
"version": "2.13.
|
|
4
|
+
"version": "2.13.4",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
7
7
|
"react-native": "src/index",
|