update poster.png, src/screens/DeliveryForm/index.js, src/screens/ShoppingCart/index.js and src/screens/VideoDisplay/index.js

master
Reza_ashrafi 3 years ago
parent 53be7eb7ef
commit 2b3e58cd67
  1. BIN
      src/assets/images/poster.png
  2. 1
      src/screens/DeliveryForm/index.js
  3. 1
      src/screens/ShoppingCart/index.js
  4. 11
      src/screens/VideoDisplay/index.js

Binary file not shown.

Before

Width:  |  Height:  |  Size: 401 B

After

Width:  |  Height:  |  Size: 47 KiB

@ -115,6 +115,7 @@ const DeliveryForm = ({
flex: 1,
}}
>
{console.log(factorInfo)}
<Navbar
headerOptions={{
logo: false,

@ -221,6 +221,7 @@ function ShoppingCart({
},
]}
>
{console.log(factorInfo?.transportPrice)}
{isEmpty ? 0 : separate(factorInfo?.payPrice)}
</Text>

@ -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%",
}}
/>
<Text

Loading…
Cancel
Save