hybrid-navigation 2.15.0 → 2.15.1

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.
@@ -81,7 +81,7 @@ public class Garden {
81
81
  Bundle tabItem = options.getBundle("tabItem");
82
82
  this.hidesBottomBarWhenPushed = tabItem == null || tabItem.getBoolean("hideTabBarWhenPush", true);
83
83
  this.extendedLayoutIncludesTopBar = options.getBoolean("extendedLayoutIncludesTopBar", false);
84
- this.fitsOpaqueNavigationBar = options.getBoolean("fitsOpaqueNavigationBarAndroid", true);
84
+ this.fitsOpaqueNavigationBar = options.getBoolean("fitsOpaqueNavigationBarAndroid", false);
85
85
 
86
86
  String screenColor = options.getString("screenBackgroundColor");
87
87
  if (!TextUtils.isEmpty(screenColor)) {
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.15.0",
4
+ "version": "2.15.1",
5
5
  "main": "./lib/index.js",
6
6
  "typings": "./lib/index.d.ts",
7
7
  "react-native": "src/index",
package/src/Options.ts CHANGED
@@ -34,7 +34,7 @@ export interface NavigationOption {
34
34
  titleTextSize?: number // TopBar 标题字体大小
35
35
  navigationBarColorAndroid?: Color // Android 底部虚拟按钮背景颜色
36
36
  navigationBarHiddenAndroid?: boolean // 是否隐藏 Android 底部的虚拟导航栏
37
- fitsOpaqueNavigationBarAndroid?: boolean // 是否将页面内容延伸至不透明的虚拟导航栏下方,默认为不延伸(true)
37
+ fitsOpaqueNavigationBarAndroid?: boolean // 不要将页面内容延伸至不透明的虚拟导航栏下方,默认为延伸(false)
38
38
  displayCutoutWhenLandscapeAndroid?: boolean // 横屏时,是否将界面延伸至刘海区域,默认 true
39
39
  homeIndicatorAutoHiddenIOS?: boolean // 是否隐藏 Home 指示器,默认 false
40
40