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, flex: 1,
}} }}
> >
{console.log(factorInfo)}
<Navbar <Navbar
headerOptions={{ headerOptions={{
logo: false, logo: false,

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

@ -27,7 +27,7 @@ import fontSize from "../../constants/fontSize";
import Colors from "../../constants/Colors"; import Colors from "../../constants/Colors";
//assets //assets
import posterImage from "../../assets/images/logo.png"; import posterImage from "../../assets/images/poster.png";
const ios = Platform.OS === "ios"; 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}`, uri: `https://dnvn.ir/api/v1/file/${route.params.unit?.fileIds}`,
}} }}
useNativeControls useNativeControls
resizeMode="contain" resizeMode="cover"
onFullscreenUpdate={onFullscreenUpdate} onFullscreenUpdate={onFullscreenUpdate}
usePoster={true} usePoster={true}
posterSource={posterImage} posterSource={posterImage}
posterStyle={{ posterStyle={{
width: "50%", width: "100%",
height: "50%", height: "100%",
marginLeft : "25%",
marginTop : "15%",
zIndex : 0,
}} }}
/> />
<Text <Text

Loading…
Cancel
Save