@applicaster/zapp-react-native-app 14.0.0-alpha.5521273514 → 14.0.0-alpha.5621117258
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/App/Layout/index.tsx +16 -14
- package/package.json +6 -6
package/App/Layout/index.tsx
CHANGED
|
@@ -94,20 +94,22 @@ const LayoutWithMenu = () => {
|
|
|
94
94
|
* otherwise hidden if videoModalState - visible
|
|
95
95
|
* also check isMenuVisible
|
|
96
96
|
*/
|
|
97
|
-
const showMenu = React.useMemo(
|
|
98
|
-
()
|
|
99
|
-
(
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
97
|
+
const showMenu = React.useMemo(() => {
|
|
98
|
+
if (!videoModalState.visible) {
|
|
99
|
+
return isMenuVisible(navigator.currentRoute, navigator.screenData);
|
|
100
|
+
} else {
|
|
101
|
+
if (videoModalState.mode === "FULLSCREEN") {
|
|
102
|
+
return false;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
return isMenuVisible(navigator.currentRoute, navigator.screenData);
|
|
107
|
+
}, [
|
|
108
|
+
videoModalState.visible,
|
|
109
|
+
videoModalState.mode,
|
|
110
|
+
navigator.currentRoute,
|
|
111
|
+
isActiveGesture,
|
|
112
|
+
]);
|
|
111
113
|
|
|
112
114
|
const isBottomTabsPlugin = plugin?.identifier === "quick-brick-bottom-tabs";
|
|
113
115
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-app",
|
|
3
|
-
"version": "14.0.0-alpha.
|
|
3
|
+
"version": "14.0.0-alpha.5621117258",
|
|
4
4
|
"description": "Zapp App Component for Applicaster's Quick Brick React Native App",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
},
|
|
28
28
|
"homepage": "https://github.com/applicaster/quickbrick#readme",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@applicaster/quick-brick-core": "14.0.0-alpha.
|
|
31
|
-
"@applicaster/zapp-react-native-bridge": "14.0.0-alpha.
|
|
32
|
-
"@applicaster/zapp-react-native-redux": "14.0.0-alpha.
|
|
33
|
-
"@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.
|
|
34
|
-
"@applicaster/zapp-react-native-utils": "14.0.0-alpha.
|
|
30
|
+
"@applicaster/quick-brick-core": "14.0.0-alpha.5621117258",
|
|
31
|
+
"@applicaster/zapp-react-native-bridge": "14.0.0-alpha.5621117258",
|
|
32
|
+
"@applicaster/zapp-react-native-redux": "14.0.0-alpha.5621117258",
|
|
33
|
+
"@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.5621117258",
|
|
34
|
+
"@applicaster/zapp-react-native-utils": "14.0.0-alpha.5621117258",
|
|
35
35
|
"axios": "^0.28.0",
|
|
36
36
|
"camelize": "^1.0.0",
|
|
37
37
|
"query-string": "7.1.3",
|