@applicaster/quick-brick-player 15.0.0-rc.41 → 15.0.0-rc.43

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-player",
3
- "version": "15.0.0-rc.41",
3
+ "version": "15.0.0-rc.43",
4
4
  "description": "Quick Brick Player",
5
5
  "main": "./src/index.ts",
6
6
  "types": "index.d.ts",
@@ -35,11 +35,11 @@
35
35
  },
36
36
  "homepage": "https://github.com/applicaster/quickbrick#readme",
37
37
  "dependencies": {
38
- "@applicaster/quick-brick-mobile-transport-controls": "15.0.0-rc.40",
38
+ "@applicaster/quick-brick-mobile-transport-controls": "15.0.0-rc.42",
39
39
  "@applicaster/quick-brick-tv-transport-controls": "15.0.0-rc.41",
40
- "@applicaster/zapp-react-native-tvos-app": "15.0.0-rc.41",
41
- "@applicaster/zapp-react-native-ui-components": "15.0.0-rc.41",
42
- "@applicaster/zapp-react-native-utils": "15.0.0-rc.41",
40
+ "@applicaster/zapp-react-native-tvos-app": "15.0.0-rc.43",
41
+ "@applicaster/zapp-react-native-ui-components": "15.0.0-rc.43",
42
+ "@applicaster/zapp-react-native-utils": "15.0.0-rc.43",
43
43
  "query-string": "7.1.3",
44
44
  "shaka-player": "4.3.5",
45
45
  "typeface-montserrat": "^0.0.54",
@@ -85,15 +85,15 @@ export const useVideoModalState = () => {
85
85
  // Update gesture state tracking
86
86
  gestureStateRef.current = newState;
87
87
 
88
+ if (newState === State.FAILED) {
89
+ return;
90
+ }
91
+
88
92
  if (translationY !== 0) {
89
93
  if (newState === State.BEGAN) {
90
94
  // clean up gesture translation
91
95
  gestureTranslation.setValue(0);
92
- } else if (
93
- newState === State.END ||
94
- newState === State.FAILED ||
95
- newState === State.CANCELLED
96
- ) {
96
+ } else if (newState === State.END || newState === State.CANCELLED) {
97
97
  const newY = getAnimatedValue(gestureTranslation);
98
98
 
99
99
  // clean up gesture translation