reza fixed profileAddress icons

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

@ -95,11 +95,31 @@ const ProfileAddress = ({
فعال
</Text>
</View>
<Entypo
name="dots-three-vertical"
size={24}
<View style={tw("flex flex-row-reverse")}>
<Pressable style={tw("ml-4")}>
<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}
/>
</Pressable>
</View>
</View>
) : null}
<View style={tw(`flex w-full ${active ? "" : "flex-row-reverse"}`)}>
@ -158,7 +178,7 @@ const ProfileAddress = ({
</View>
{!active ? (
<View style={tw("flex flex-row-reverse")}>
<Pressable style={tw("ml-2")}>
<Pressable style={tw("ml-4")}>
<Ionicons
name="ios-pencil-sharp"
size={20}

Loading…
Cancel
Save