@applicaster/quick-brick-player 12.0.0-rc.1 → 12.0.0-rc.10

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": "12.0.0-rc.1",
3
+ "version": "12.0.0-rc.10",
4
4
  "description": "Quick Brick Player",
5
5
  "main": "./src/index.ts",
6
6
  "types": "index.d.ts",
@@ -36,11 +36,11 @@
36
36
  },
37
37
  "homepage": "https://github.com/applicaster/quickbrick#readme",
38
38
  "dependencies": {
39
- "@applicaster/quick-brick-mobile-transport-controls": "11.0.0-rc.108",
39
+ "@applicaster/quick-brick-mobile-transport-controls": "12.0.0-rc.10",
40
40
  "@applicaster/quick-brick-tv-transport-controls": "11.0.0-rc.133",
41
- "@applicaster/zapp-react-native-tvos-app": "12.0.0-rc.1",
42
- "@applicaster/zapp-react-native-ui-components": "12.0.0-rc.1",
43
- "@applicaster/zapp-react-native-utils": "12.0.0-rc.1",
41
+ "@applicaster/zapp-react-native-tvos-app": "12.0.0-rc.10",
42
+ "@applicaster/zapp-react-native-ui-components": "12.0.0-rc.10",
43
+ "@applicaster/zapp-react-native-utils": "12.0.0-rc.10",
44
44
  "keymirror": "^0.1.1",
45
45
  "react-native-web-linear-gradient": "1.1.2",
46
46
  "shaka-player": "4.3.5",
@@ -10,7 +10,7 @@ import {
10
10
 
11
11
  import { playerManager } from "@applicaster/zapp-react-native-utils/appUtils";
12
12
 
13
- import { useIsTablet } from "@applicaster/zapp-react-native-utils/reactHooks/device/useIsTablet";
13
+ import { useIsTablet } from "@applicaster/zapp-react-native-utils/reactHooks";
14
14
  import {
15
15
  forwardButton,
16
16
  playbackButton,
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import {
3
3
  StyleSheet,
4
4
  TouchableWithoutFeedback,
@@ -6,7 +6,7 @@ import {
6
6
  ViewStyle,
7
7
  } from "react-native";
8
8
  import * as R from "ramda";
9
- import { useDimensions } from "@applicaster/zapp-react-native-utils/reactHooks";
9
+ import { useIsTablet } from "@applicaster/zapp-react-native-utils/reactHooks";
10
10
 
11
11
  import {
12
12
  ContentInfo,
@@ -198,9 +198,7 @@ export default function DockedLayout(props: LayoutProps) {
198
198
  playNextData,
199
199
  } = props;
200
200
 
201
- const {
202
- deviceInfo: { isTablet },
203
- } = useDimensions("screen", { deviceInfo: true });
201
+ const isTablet = useIsTablet();
204
202
 
205
203
  const visible = true;
206
204
  const liveButton = Boolean(value("live_badge_enabled"));