@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.
@@ -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
- ((videoModalState.visible &&
100
- (videoModalState.mode === "MINIMIZED" ||
101
- (videoModalState.mode === "MAXIMIZED" && isActiveGesture))) ||
102
- !videoModalState.visible) &&
103
- isMenuVisible(navigator.currentRoute, navigator.screenData),
104
- [
105
- videoModalState.visible,
106
- videoModalState.mode,
107
- navigator.currentRoute,
108
- isActiveGesture,
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.5521273514",
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.5521273514",
31
- "@applicaster/zapp-react-native-bridge": "14.0.0-alpha.5521273514",
32
- "@applicaster/zapp-react-native-redux": "14.0.0-alpha.5521273514",
33
- "@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.5521273514",
34
- "@applicaster/zapp-react-native-utils": "14.0.0-alpha.5521273514",
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",