@applicaster/zapp-react-native-app 13.0.6-alpha.4390983410 → 13.0.6-alpha.9045435588

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,18 +98,20 @@ const LayoutWithMenu = () => {
98
98
  * otherwise hidden if videoModalState - visible
99
99
  * also check isMenuVisible
100
100
  */
101
- const showMenu = React.useMemo(() => {
102
- if (!videoModalState.visible && videoModalState.mode === "FULLSCREEN") {
103
- return false;
104
- }
105
-
106
- return isMenuVisible(navigator.currentRoute, navigator.screenData);
107
- }, [
108
- videoModalState.visible,
109
- videoModalState.mode,
110
- navigator.currentRoute,
111
- isActiveGesture,
112
- ]);
101
+ const showMenu = React.useMemo(
102
+ () =>
103
+ ((videoModalState.visible &&
104
+ (videoModalState.mode === "MINIMIZED" ||
105
+ (videoModalState.mode === "MAXIMIZED" && isActiveGesture))) ||
106
+ !videoModalState.visible) &&
107
+ isMenuVisible(navigator.currentRoute, navigator.screenData),
108
+ [
109
+ videoModalState.visible,
110
+ videoModalState.mode,
111
+ navigator.currentRoute,
112
+ isActiveGesture,
113
+ ]
114
+ );
113
115
 
114
116
  const isBottomTabsPlugin = plugin?.identifier === "quick-brick-bottom-tabs";
115
117
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-app",
3
- "version": "13.0.6-alpha.4390983410",
3
+ "version": "13.0.6-alpha.9045435588",
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": "13.0.6-alpha.4390983410",
31
- "@applicaster/zapp-react-native-bridge": "13.0.6-alpha.4390983410",
32
- "@applicaster/zapp-react-native-redux": "13.0.6-alpha.4390983410",
33
- "@applicaster/zapp-react-native-ui-components": "13.0.6-alpha.4390983410",
34
- "@applicaster/zapp-react-native-utils": "13.0.6-alpha.4390983410",
30
+ "@applicaster/quick-brick-core": "13.0.6-alpha.9045435588",
31
+ "@applicaster/zapp-react-native-bridge": "13.0.6-alpha.9045435588",
32
+ "@applicaster/zapp-react-native-redux": "13.0.6-alpha.9045435588",
33
+ "@applicaster/zapp-react-native-ui-components": "13.0.6-alpha.9045435588",
34
+ "@applicaster/zapp-react-native-utils": "13.0.6-alpha.9045435588",
35
35
  "axios": "^0.28.0",
36
36
  "camelize": "^1.0.0",
37
37
  "query-string": "7.1.3",