hybrid-navigation 2.17.4 → 2.17.5
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.
|
@@ -98,7 +98,7 @@ public class HybridFragment extends AwesomeFragment {
|
|
|
98
98
|
super.onViewCreated(view, savedInstanceState);
|
|
99
99
|
garden.setupToolbar();
|
|
100
100
|
}
|
|
101
|
-
|
|
101
|
+
|
|
102
102
|
@NonNull
|
|
103
103
|
@Override
|
|
104
104
|
protected BarStyle preferredStatusBarStyle() {
|
|
@@ -107,12 +107,25 @@ public class HybridFragment extends AwesomeFragment {
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
if (getPresentationStyle() == PresentationStyle.OverFullScreen) {
|
|
110
|
-
return
|
|
110
|
+
return SystemUI.activityStatusBarStyle(requireActivity());
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
return super.preferredStatusBarStyle();
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
+
@Override
|
|
117
|
+
protected boolean preferredStatusBarHidden() {
|
|
118
|
+
if (forceTransparentDialogWindow()) {
|
|
119
|
+
return SystemUI.isStatusBarHidden(requireActivity().getWindow());
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
if (getPresentationStyle() == PresentationStyle.OverFullScreen) {
|
|
123
|
+
return SystemUI.isStatusBarHidden(requireActivity().getWindow());
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
return super.preferredStatusBarHidden();
|
|
127
|
+
}
|
|
128
|
+
|
|
116
129
|
@Override
|
|
117
130
|
protected boolean preferredNavigationBarHidden() {
|
|
118
131
|
if (getPresentationStyle() == PresentationStyle.OverFullScreen) {
|
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.5",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
7
7
|
"react-native": "src/index",
|