hybrid-navigation 2.17.1 → 2.17.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.
package/android/build.gradle
CHANGED
|
@@ -33,5 +33,5 @@ dependencies {
|
|
|
33
33
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
34
34
|
implementation 'com.facebook.react:react-native:+'
|
|
35
35
|
// api project(':navigation')
|
|
36
|
-
api 'io.github.listenzz:AndroidNavigation:13.6.
|
|
36
|
+
api 'io.github.listenzz:AndroidNavigation:13.6.7'
|
|
37
37
|
}
|
|
@@ -587,8 +587,12 @@
|
|
|
587
587
|
}
|
|
588
588
|
|
|
589
589
|
- (CGRect)fakeBarFrameForViewController:(UIViewController *)vc {
|
|
590
|
-
|
|
591
|
-
|
|
590
|
+
CGFloat height = self.navigationBar.frame.size.height + self.navigationBar.frame.origin.y;
|
|
591
|
+
if (vc.view.frame.size.height == self.view.frame.size.height) {
|
|
592
|
+
return CGRectMake(0, 0, self.navigationBar.frame.size.width, height);
|
|
593
|
+
}else{
|
|
594
|
+
return CGRectMake(0, -height, self.navigationBar.frame.size.width, height);
|
|
595
|
+
}
|
|
592
596
|
}
|
|
593
597
|
|
|
594
598
|
- (CGRect)fakeShadowFrameWithBarFrame:(CGRect)frame {
|
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.17.
|
|
4
|
+
"version": "2.17.3",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
7
7
|
"react-native": "src/index",
|