Update icons with pointerEvents="none" and upgrade lucide-react-native to v0.563.0

This commit is contained in:
2026-02-17 10:22:18 +01:00
parent cded5e8f00
commit 68e25fac71
27 changed files with 106 additions and 128 deletions

View File

@@ -22,7 +22,7 @@ export default function ProfileScreen() {
<TouchableOpacity
onPress={() => router.back()}
>
<ChevronLeft size={28} color="white" />
<ChevronLeft size={28} color="white" pointerEvents="none"/>
</TouchableOpacity>
<View className="flex-row items-center gap-4">
<View className="w-16 h-16 rounded-full bg-white/20 items-center justify-center">
@@ -50,7 +50,7 @@ export default function ProfileScreen() {
<View className="mt-6 gap-5">
<View className="flex-row items-center gap-5">
<View className="w-14 h-14 bg-gray-100 rounded-2xl items-center justify-center">
<Mail size={24} color="#374151" />
<Mail size={24} color="#374151" pointerEvents="none" />
</View>
<View>
<Text className="text-lg text-gray-700 font-bold">Email</Text>
@@ -60,7 +60,7 @@ export default function ProfileScreen() {
<View className="flex-row items-center gap-5">
<View className="w-14 h-14 bg-gray-100 rounded-2xl items-center justify-center">
<User size={24} color="#374151" />
<User size={24} color="#374151" pointerEvents="none" />
</View>
<View>
<Text className="text-lg text-gray-700 font-bold">Ruolo</Text>
@@ -77,7 +77,7 @@ export default function ProfileScreen() {
<TouchableOpacity onPress={() => router.push('/profile/documents')} className="bg-white p-4 rounded-3xl shadow-sm flex-row items-center justify-between border border-gray-100 mb-4">
<View className="flex-row items-center gap-5">
<View className="bg-[#099499]/10 p-3.5 rounded-2xl">
<FileText size={26} color="#099499" />
<FileText size={26} color="#099499" pointerEvents="none" />
</View>
<View>
<Text className="text-lg text-gray-800 font-bold">I miei documenti</Text>
@@ -104,7 +104,7 @@ export default function ProfileScreen() {
<TouchableOpacity onPress={authContext.logOut} className="bg-white p-4 rounded-3xl shadow-sm flex-row items-center justify-between border border-gray-100">
<View className="flex-row items-center gap-5">
<View className="bg-red-50 p-3.5 rounded-2xl">
<LogOut size={26} color="#ef4444" />
<LogOut size={26} color="#ef4444" pointerEvents="none" />
</View>
<View>
<Text className="text-lg text-gray-800 font-bold">Esci</Text>
@@ -117,4 +117,4 @@ export default function ProfileScreen() {
</ScrollView>
</View>
);
}
}