diff --git a/App.js b/App.js index 7c3e2f0..63161bd 100644 --- a/App.js +++ b/App.js @@ -8,8 +8,6 @@ import { store, persistor } from "./src/redux/store"; import React from "react"; import { PersistGate } from "redux-persist/integration/react"; -console.log(persistor); - const App = () => { let [fontsLoaded] = useFonts({ light: require("./assets/fonts/Farsi/Light.ttf"), diff --git a/src/screens/Product/components/Book.js b/src/screens/Product/components/Book.js index a73ca29..d9ef3b9 100644 --- a/src/screens/Product/components/Book.js +++ b/src/screens/Product/components/Book.js @@ -7,6 +7,7 @@ import { TouchableHighlight, Dimensions, Platform, + ActivityIndicator, } from "react-native"; import { useNavigation } from "@react-navigation/native"; import { product, userProduct } from "../../../redux/actions"; @@ -295,20 +296,32 @@ function Book({ } > <> - + ) : ( + + خرید نسخه فیزیکی کتاب + + )} - paddingVertical: 4, - }} - > - خرید نسخه فیزیکی کتاب - @@ -370,20 +383,31 @@ function Book({ } > <> - + ) : ( + - خرید نسخه دیجیتال کتاب - + paddingVertical: 4, + }} + > + خرید نسخه دیجیتال کتاب + + )} <> - + ) : ( + - خرید دوره ویدئویی کتاب - + paddingVertical: 4, + }} + > + خرید دوره ویدئویی کتاب + + )} {