@applicaster/zapp-react-native-app 15.0.0-rc.3 → 15.0.0-rc.31
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 +1 -9
- package/package.json +6 -6
package/App/Layout/index.tsx
CHANGED
|
@@ -27,7 +27,6 @@ import {
|
|
|
27
27
|
import { VideoModal } from "@applicaster/zapp-react-native-ui-components/Components/VideoModal";
|
|
28
28
|
import { withDimensionsProvider } from "@applicaster/zapp-react-native-utils/dimensionsProvider";
|
|
29
29
|
import { withModalAnimationProvider } from "@applicaster/zapp-react-native-ui-components/Components/VideoModal/ModalAnimation";
|
|
30
|
-
import { useModalAnimationContext } from "@applicaster/zapp-react-native-ui-components/Components/VideoModal/ModalAnimation/useModalAnimationContext";
|
|
31
30
|
|
|
32
31
|
import { ZappHooksModal } from "@applicaster/zapp-react-dom-ui-components/Components/ZappHooksModal";
|
|
33
32
|
import { useListenEventBusEvent } from "@applicaster/zapp-react-native-utils/reactHooks/useListenEventBusEvent";
|
|
@@ -83,8 +82,6 @@ const LayoutWithMenu = () => {
|
|
|
83
82
|
[activeRiver]
|
|
84
83
|
);
|
|
85
84
|
|
|
86
|
-
const { isActiveGesture } = useModalAnimationContext();
|
|
87
|
-
|
|
88
85
|
/** BTB shown when videoModalState - visible & minimized, maximized & animation gesture is active
|
|
89
86
|
* otherwise hidden if videoModalState - visible
|
|
90
87
|
* also check isMenuVisible
|
|
@@ -101,12 +98,7 @@ const LayoutWithMenu = () => {
|
|
|
101
98
|
["MINIMIZED", "MAXIMIZED"].includes(videoModalState.mode);
|
|
102
99
|
|
|
103
100
|
return menuVisible && (shouldShowWithVideo || !videoModalState.visible);
|
|
104
|
-
}, [
|
|
105
|
-
videoModalState.visible,
|
|
106
|
-
videoModalState.mode,
|
|
107
|
-
navigator.currentRoute,
|
|
108
|
-
isActiveGesture,
|
|
109
|
-
]);
|
|
101
|
+
}, [videoModalState.visible, videoModalState.mode, navigator.currentRoute]);
|
|
110
102
|
|
|
111
103
|
const paddingBottom = showMenu ? bottomTabBarHeight + safeAreaBottomInset : 0; // if activeRiver?.navigations has quick-brick-bottom-tabs - append bottomTabBarHeight as padding
|
|
112
104
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-app",
|
|
3
|
-
"version": "15.0.0-rc.
|
|
3
|
+
"version": "15.0.0-rc.31",
|
|
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": "15.0.0-rc.
|
|
31
|
-
"@applicaster/zapp-react-native-bridge": "15.0.0-rc.
|
|
32
|
-
"@applicaster/zapp-react-native-redux": "15.0.0-rc.
|
|
33
|
-
"@applicaster/zapp-react-native-ui-components": "15.0.0-rc.
|
|
34
|
-
"@applicaster/zapp-react-native-utils": "15.0.0-rc.
|
|
30
|
+
"@applicaster/quick-brick-core": "15.0.0-rc.31",
|
|
31
|
+
"@applicaster/zapp-react-native-bridge": "15.0.0-rc.31",
|
|
32
|
+
"@applicaster/zapp-react-native-redux": "15.0.0-rc.31",
|
|
33
|
+
"@applicaster/zapp-react-native-ui-components": "15.0.0-rc.31",
|
|
34
|
+
"@applicaster/zapp-react-native-utils": "15.0.0-rc.31",
|
|
35
35
|
"axios": "^0.28.0",
|
|
36
36
|
"camelize": "^1.0.0",
|
|
37
37
|
"query-string": "7.1.3",
|