From b8e2ed1a278ecba1675fadff29ffdd99bf8238d2 Mon Sep 17 00:00:00 2001 From: Reza_ashrafi Date: Tue, 19 Apr 2022 11:51:50 +0430 Subject: [PATCH] reza bugs --- src/components/Drawer.js | 3 ++- src/screens/Contact/Box.js | 2 +- src/screens/Faq/components/Instance.js | 2 +- src/screens/Profile/components/ProfileBookmark/index.js | 2 +- src/screens/Profile/components/User.js | 2 +- src/screens/ShoppingCart/components/Code.js | 4 +++- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/components/Drawer.js b/src/components/Drawer.js index 570fd8e..79b2378 100644 --- a/src/components/Drawer.js +++ b/src/components/Drawer.js @@ -314,7 +314,7 @@ const Drawer = ({ position, setBoxPosition, user, mobile, theme }) => { ]} > - + { onPress={() => asyncAwesomeAlert("نتیجه", "این قابلیت در حال توسعه است.", { showCancelButton: false, + confirmText: "باشه" }) } > diff --git a/src/screens/Contact/Box.js b/src/screens/Contact/Box.js index 01b856b..156e2b0 100644 --- a/src/screens/Contact/Box.js +++ b/src/screens/Contact/Box.js @@ -53,7 +53,7 @@ const Box = ({ info, mobile }) => { tw("mt-1"), { fontFamily: "light", - fontSize: mobile ? fontSize.sm : fontSize.lg, + fontSize: mobile ? fontSize.tiny : fontSize.lg, color: info.description.color, textAlign: ios ? "right" : "auto", }, diff --git a/src/screens/Faq/components/Instance.js b/src/screens/Faq/components/Instance.js index 64bbaca..a1639c8 100644 --- a/src/screens/Faq/components/Instance.js +++ b/src/screens/Faq/components/Instance.js @@ -11,7 +11,7 @@ function Instance({ question, selectFaq, mobile, theme }) { selectFaq(question.id)} style={[ - tw(`w-full flex my-1.5 rounded-md px-4 ${mobile ? "py-2" : "py-3"}`), + tw(`w-full flex my-1.5 rounded-sm px-4 ${mobile ? "py-2" : "py-3"}`), { backgroundColor: !question.active ? "#F9F9F9" diff --git a/src/screens/Profile/components/ProfileBookmark/index.js b/src/screens/Profile/components/ProfileBookmark/index.js index f28339c..92e95ab 100644 --- a/src/screens/Profile/components/ProfileBookmark/index.js +++ b/src/screens/Profile/components/ProfileBookmark/index.js @@ -127,7 +127,7 @@ const Bookmark = ({ bookmark, deleteItem, mobile, grades, theme }) => { }) } > - + { onPress={() => setDropdown(!dropdown)} > - + setValue(text)} + onChangeText={(text) => setValue(text = onInput.englishAndNumberWithoutSpace(text))} style={[ tw("border-0 flex-1 text-right pr-3"), { fontSize: fontSize.tiny, fontFamily: "regular" }, ]} placeholder={"کد تخفیف دارید ؟"} placeholderTextColor={Colors.theme1[theme].gray20 + "aa"} + value={value} /> setOff()}