@applicaster/zapp-react-native-ui-components 14.0.0-rc.22 → 14.0.0-rc.23

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.
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
- import { View, Image, StyleSheet } from "react-native";
2
+ import { View, StyleSheet } from "react-native";
3
+ import { QBImage } from "@applicaster/zapp-react-native-ui-components/Components/Image";
3
4
  import { toNumberWithDefaultZero } from "@applicaster/zapp-react-native-utils/numberUtils";
4
5
 
5
6
  const styles = StyleSheet.create({
@@ -29,7 +30,7 @@ export function Artwork({ srcImage, config }: Props) {
29
30
 
30
31
  return (
31
32
  <View style={styles.container}>
32
- <Image
33
+ <QBImage
33
34
  fadeDuration={0}
34
35
  source={{ uri: srcImage }}
35
36
  style={[styles.image, { borderRadius }]}
@@ -114,8 +114,8 @@ export function AudioPlayerTVLayout({
114
114
  margin: "auto",
115
115
  display: "flex",
116
116
  flexWrap: "wrap",
117
+ height: "100vh",
117
118
  width: "100vw",
118
- flex: 1,
119
119
  alignItems: "center",
120
120
  justifyContent: "center",
121
121
  flexDirection: directionStyles(isRTL).flexDirection,
@@ -126,8 +126,8 @@ export function AudioPlayerTVLayout({
126
126
  margin: "auto",
127
127
  display: "flex",
128
128
  flexWrap: "wrap",
129
+ height: "100vh",
129
130
  width: "100vw",
130
- flex: 1,
131
131
  alignItems: "center",
132
132
  justifyContent: "center",
133
133
  flexDirection: directionStyles(isRTL).flexDirection,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-ui-components",
3
- "version": "14.0.0-rc.22",
3
+ "version": "14.0.0-rc.23",
4
4
  "description": "Applicaster Zapp React Native ui components for the Quick Brick App",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -31,10 +31,10 @@
31
31
  "redux-mock-store": "^1.5.3"
32
32
  },
33
33
  "dependencies": {
34
- "@applicaster/applicaster-types": "14.0.0-rc.22",
35
- "@applicaster/zapp-react-native-bridge": "14.0.0-rc.22",
36
- "@applicaster/zapp-react-native-redux": "14.0.0-rc.22",
37
- "@applicaster/zapp-react-native-utils": "14.0.0-rc.22",
34
+ "@applicaster/applicaster-types": "14.0.0-rc.23",
35
+ "@applicaster/zapp-react-native-bridge": "14.0.0-rc.23",
36
+ "@applicaster/zapp-react-native-redux": "14.0.0-rc.23",
37
+ "@applicaster/zapp-react-native-utils": "14.0.0-rc.23",
38
38
  "promise": "^8.3.0",
39
39
  "url": "^0.11.0",
40
40
  "uuid": "^3.3.2"