reza fixed profileAddress icons

master
Reza_ashrafi 2 years ago
parent 75b33697d5
commit bba4e1cb39
  1. 28
      src/screens/Profile/components/ProfileAddress/index.js

@ -95,11 +95,31 @@ const ProfileAddress = ({
فعال فعال
</Text> </Text>
</View> </View>
<Entypo <View style={tw("flex flex-row-reverse")}>
name="dots-three-vertical" <Pressable style={tw("ml-4")}>
size={24} <Ionicons
name="ios-pencil-sharp"
size={20}
color={theme === "light" ? "#52796F" : Colors.theme1.white}
/>
</Pressable>
<Pressable
onPress={() =>
asyncAwesomeAlert("", "آدرس مورد نظر حذف شود؟", {
showCancelButton: true,
confirmText: "بله",
cancelText: "لغو",
onConfirm: () => deleteItem({ id: address.id }),
})
}
>
<Ionicons
name="trash-bin"
size={20}
color={theme === "light" ? "#52796F" : Colors.theme1.white} color={theme === "light" ? "#52796F" : Colors.theme1.white}
/> />
</Pressable>
</View>
</View> </View>
) : null} ) : null}
<View style={tw(`flex w-full ${active ? "" : "flex-row-reverse"}`)}> <View style={tw(`flex w-full ${active ? "" : "flex-row-reverse"}`)}>
@ -158,7 +178,7 @@ const ProfileAddress = ({
</View> </View>
{!active ? ( {!active ? (
<View style={tw("flex flex-row-reverse")}> <View style={tw("flex flex-row-reverse")}>
<Pressable style={tw("ml-2")}> <Pressable style={tw("ml-4")}>
<Ionicons <Ionicons
name="ios-pencil-sharp" name="ios-pencil-sharp"
size={20} size={20}

Loading…
Cancel
Save