From 41b2a6c154497dee131d2dbba71eaaa38736a07a Mon Sep 17 00:00:00 2001 From: Reza_ashrafi Date: Sat, 23 Apr 2022 22:33:17 +0430 Subject: [PATCH] reza fixed 1 --- src/components/CustomTextInput.js | 1 - src/components/MapSelector.js | 46 ++++++++------------------ src/screens/Address/index.js | 36 +++++++++++--------- src/screens/Blog/index.js | 1 - src/screens/Product/components/Book.js | 6 ++-- src/screens/Video/index.js | 2 +- 6 files changed, 38 insertions(+), 54 deletions(-) diff --git a/src/components/CustomTextInput.js b/src/components/CustomTextInput.js index e612e7d..283ca41 100644 --- a/src/components/CustomTextInput.js +++ b/src/components/CustomTextInput.js @@ -65,7 +65,6 @@ const FloatingLabelInput = ({ } }, [value]); - console.log(theme); return ( {}; return ( - - {/* onRegionDidChange(e)} - style={{ - flex: 1, - }} - styleURL={Mapir?.StyleURL?.Street} - > - - */} - + <> + // onRegionDidChange(e)} + // style={{ + // width : '100%', + // height : 250 + // }} + // > + // + // ); } - -const styles = StyleSheet.create({ - container: { - width: "100%", - height: 300, - }, -}); diff --git a/src/screens/Address/index.js b/src/screens/Address/index.js index b95a5b3..ebe836a 100644 --- a/src/screens/Address/index.js +++ b/src/screens/Address/index.js @@ -51,7 +51,7 @@ const Address = ({ setPhase, cityLoading, mobile, - theme + theme, }) => { const [addressFields, setAddressFields] = useState({}); const [mapAddress, setMapAddress] = useState(null); @@ -227,7 +227,8 @@ const Address = ({ style={{ fontFamily: "bold", fontSize: mobile ? fontSize.lg : fontSize.xl2, - color: theme === 'light' ? Colors.theme1.gray20 : Colors.theme1.white, + color: + theme === "light" ? Colors.theme1.gray20 : Colors.theme1.white, textAlign: ios ? "right" : "auto", }} > @@ -237,7 +238,10 @@ const Address = ({ style={{ fontFamily: "regular", fontSize: mobile ? fontSize.sm : fontSize.base, - color: theme === 'light' ? Colors.theme1.gray20 + 'aa' : Colors.theme1.white + "aa", + color: + theme === "light" + ? Colors.theme1.gray20 + "aa" + : Colors.theme1.white + "aa", textAlign: ios ? "right" : "auto", }} > @@ -255,26 +259,26 @@ const Address = ({ flex: 1, }} > + -
- {!profilePage ? : null} + ({ user: state.user.status, profileFields: state.user.profileFields, mobile: state.publicApi.mobile, - theme : state.publicApi.theme + theme: state.publicApi.theme, }); const mapDispatchToProps = { diff --git a/src/screens/Blog/index.js b/src/screens/Blog/index.js index f4b29a6..e6b5ca4 100644 --- a/src/screens/Blog/index.js +++ b/src/screens/Blog/index.js @@ -249,7 +249,6 @@ const mapDispatchToProps = { }; const Tag = ({ tag }) => { - console.log(tag); return; }; diff --git a/src/screens/Product/components/Book.js b/src/screens/Product/components/Book.js index 438aa61..32558aa 100644 --- a/src/screens/Product/components/Book.js +++ b/src/screens/Product/components/Book.js @@ -89,21 +89,21 @@ function Book({ showCancelButton: true, onConfirm: () => navigation.push("ShoppingCart"), confirmText: "مشاهده سبد خرید", - cancelText: "باشه", + cancelText: "ادامه خرید", }); } else if (whichTypeAdded === "physical" && physicalAvailabileInCart) { asyncAwesomeAlert("", "به سبد خرید اضافه شد", { showCancelButton: true, onConfirm: () => navigation.push("ShoppingCart"), confirmText: "مشاهده سبد خرید", - cancelText: "باشه", + cancelText: "ادامه خرید", }); } else if (whichTypeAdded === "digital" && digitalAvailabileInCart) { asyncAwesomeAlert("", "به سبد خرید اضافه شد", { showCancelButton: true, onConfirm: () => navigation.push("ShoppingCart"), confirmText: "مشاهده سبد خرید", - cancelText: "باشه", + cancelText: "ادامه خرید", }); } setWhichTypeAdded(null); diff --git a/src/screens/Video/index.js b/src/screens/Video/index.js index d82453b..581e518 100644 --- a/src/screens/Video/index.js +++ b/src/screens/Video/index.js @@ -184,7 +184,7 @@ function Product({ showCancelButton: true, onConfirm: () => navigation.push("ShoppingCart"), confirmText: "مشاهده سبد خرید", - cancelText: "باشه", + cancelText: "ادامه خرید", } ) : addToCart(