@applicaster/zapp-react-native-app 12.0.0-rc.91 → 12.0.0-rc.93

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.
@@ -87,9 +87,16 @@ const LayoutWithMenu = () => {
87
87
  [activeRiver]
88
88
  );
89
89
 
90
+ /** BTB shown when videoModalState - visible & minimized,
91
+ * otherwise hidden if videoModalState - visible
92
+ * also check isMenuVisible
93
+ */
90
94
  const showMenu = React.useMemo(
91
- () => isMenuVisible(navigator.currentRoute, navigator.screenData),
92
- [navigator.currentRoute]
95
+ () =>
96
+ ((videoModalState.visible && videoModalState.mode === "MINIMIZED") ||
97
+ !videoModalState.visible) &&
98
+ isMenuVisible(navigator.currentRoute, navigator.screenData),
99
+ [videoModalState.visible, videoModalState.mode, navigator.currentRoute]
93
100
  );
94
101
 
95
102
  const isBottomTabsPlugin = plugin?.identifier === "quick-brick-bottom-tabs";
@@ -153,10 +160,9 @@ const LayoutWithMenu = () => {
153
160
  <View style={contentStyle}>
154
161
  <Transitioner
155
162
  transitionConfig={transitionConfig}
156
- contentStyle={showMenu ? contentStyle : {}}
163
+ contentStyle={{}}
157
164
  isRTL={isRTL}
158
165
  >
159
- {/* has pathname context */}
160
166
  <Screen
161
167
  key={navigator.currentRoute}
162
168
  pathname={navigator.currentRoute} // required by TransitionerComponent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-app",
3
- "version": "12.0.0-rc.91",
3
+ "version": "12.0.0-rc.93",
4
4
  "description": "Zapp App Component for Applicaster's Quick Brick React Native App",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,11 +29,11 @@
29
29
  },
30
30
  "homepage": "https://github.com/applicaster/quickbrick#readme",
31
31
  "dependencies": {
32
- "@applicaster/quick-brick-core": "12.0.0-rc.91",
33
- "@applicaster/zapp-react-native-bridge": "12.0.0-rc.91",
34
- "@applicaster/zapp-react-native-redux": "12.0.0-rc.91",
35
- "@applicaster/zapp-react-native-ui-components": "12.0.0-rc.91",
36
- "@applicaster/zapp-react-native-utils": "12.0.0-rc.91",
32
+ "@applicaster/quick-brick-core": "12.0.0-rc.93",
33
+ "@applicaster/zapp-react-native-bridge": "12.0.0-rc.93",
34
+ "@applicaster/zapp-react-native-redux": "12.0.0-rc.93",
35
+ "@applicaster/zapp-react-native-ui-components": "12.0.0-rc.93",
36
+ "@applicaster/zapp-react-native-utils": "12.0.0-rc.93",
37
37
  "axios": "^0.28.0",
38
38
  "camelize": "^1.0.0",
39
39
  "query-string": "7.1.3",