diff --git a/src/assets/images/poster.png b/src/assets/images/poster.png index c5cd37d..06dc922 100644 Binary files a/src/assets/images/poster.png and b/src/assets/images/poster.png differ diff --git a/src/screens/DeliveryForm/index.js b/src/screens/DeliveryForm/index.js index b22de8a..a675c70 100644 --- a/src/screens/DeliveryForm/index.js +++ b/src/screens/DeliveryForm/index.js @@ -115,6 +115,7 @@ const DeliveryForm = ({ flex: 1, }} > + {console.log(factorInfo)} + {console.log(factorInfo?.transportPrice)} {isEmpty ? 0 : separate(factorInfo?.payPrice)} diff --git a/src/screens/VideoDisplay/index.js b/src/screens/VideoDisplay/index.js index 6a5f65b..9d6bee8 100644 --- a/src/screens/VideoDisplay/index.js +++ b/src/screens/VideoDisplay/index.js @@ -27,7 +27,7 @@ import fontSize from "../../constants/fontSize"; import Colors from "../../constants/Colors"; //assets -import posterImage from "../../assets/images/logo.png"; +import posterImage from "../../assets/images/poster.png"; const ios = Platform.OS === "ios"; @@ -106,16 +106,13 @@ function VideoDisplay({ route, mobile, theme }) { uri: `https://dnvn.ir/api/v1/file/${route.params.unit?.fileIds}`, }} useNativeControls - resizeMode="contain" + resizeMode="cover" onFullscreenUpdate={onFullscreenUpdate} usePoster={true} posterSource={posterImage} posterStyle={{ - width: "50%", - height: "50%", - marginLeft : "25%", - marginTop : "15%", - zIndex : 0, + width: "100%", + height: "100%", }} />