@applicaster/zapp-react-native-app 14.0.0-rc.62 → 14.0.0-rc.64

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.
@@ -90,11 +90,17 @@ const LayoutWithMenu = () => {
90
90
  * also check isMenuVisible
91
91
  */
92
92
  const showMenu = React.useMemo(() => {
93
- if (!videoModalState.visible && videoModalState.mode === "FULLSCREEN") {
94
- return false;
95
- }
93
+ const menuVisible = isMenuVisible(
94
+ navigator.currentRoute,
95
+ navigator.screenData,
96
+ plugins
97
+ );
96
98
 
97
- return isMenuVisible(navigator.currentRoute, navigator.screenData, plugins);
99
+ const shouldShowWithVideo =
100
+ videoModalState.visible &&
101
+ ["MINIMIZED", "MAXIMIZED"].includes(videoModalState.mode);
102
+
103
+ return menuVisible && (shouldShowWithVideo || !videoModalState.visible);
98
104
  }, [
99
105
  videoModalState.visible,
100
106
  videoModalState.mode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-app",
3
- "version": "14.0.0-rc.62",
3
+ "version": "14.0.0-rc.64",
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-rc.62",
31
- "@applicaster/zapp-react-native-bridge": "14.0.0-rc.62",
32
- "@applicaster/zapp-react-native-redux": "14.0.0-rc.62",
33
- "@applicaster/zapp-react-native-ui-components": "14.0.0-rc.62",
34
- "@applicaster/zapp-react-native-utils": "14.0.0-rc.62",
30
+ "@applicaster/quick-brick-core": "14.0.0-rc.64",
31
+ "@applicaster/zapp-react-native-bridge": "14.0.0-rc.64",
32
+ "@applicaster/zapp-react-native-redux": "14.0.0-rc.64",
33
+ "@applicaster/zapp-react-native-ui-components": "14.0.0-rc.64",
34
+ "@applicaster/zapp-react-native-utils": "14.0.0-rc.64",
35
35
  "axios": "^0.28.0",
36
36
  "camelize": "^1.0.0",
37
37
  "query-string": "7.1.3",