Update icons with pointerEvents="none" and upgrade lucide-react-native to v0.563.0
This commit is contained in:
@@ -79,7 +79,7 @@ export default function HomeScreen() {
|
||||
</View>
|
||||
<View className="flex-row gap-4 flex-shrink-0">
|
||||
<TouchableOpacity className="p-3 bg-white/10 rounded-full active:bg-white/20" onPress={() => router.push('/profile')}>
|
||||
<User size={28} color="white" />
|
||||
<User size={28} color="white" pointerEvents="none"/>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
</View>
|
||||
@@ -104,7 +104,7 @@ export default function HomeScreen() {
|
||||
>
|
||||
<View className="flex-row items-center gap-5">
|
||||
<View className="bg-orange-100 p-4 rounded-full">
|
||||
<AlertTriangle size={32} color="#f97316" />
|
||||
<AlertTriangle size={32} color="#f97316" pointerEvents="none"/>
|
||||
</View>
|
||||
<View className="flex-1">
|
||||
<Text className="font-bold text-gray-800 text-lg">Presenza incompleta</Text>
|
||||
@@ -123,7 +123,7 @@ export default function HomeScreen() {
|
||||
className="flex-1 bg-white p-6 rounded-3xl shadow-sm items-center justify-center gap-4 border border-gray-100 active:scale-[0.98]"
|
||||
>
|
||||
<View className="w-20 h-20 rounded-full bg-teal-50 items-center justify-center mb-1">
|
||||
<QrCode size={40} color="#099499" />
|
||||
<QrCode size={40} color="#099499" pointerEvents="none"/>
|
||||
</View>
|
||||
<Text className="text-lg font-bold text-gray-700 text-center">Nuova Presenza</Text>
|
||||
</TouchableOpacity>
|
||||
@@ -133,7 +133,7 @@ export default function HomeScreen() {
|
||||
className="flex-1 bg-white p-6 rounded-3xl shadow-sm items-center justify-center gap-4 border border-gray-100 active:scale-[0.98]"
|
||||
>
|
||||
<View className="w-20 h-20 rounded-full bg-blue-50 items-center justify-center mb-1">
|
||||
<CalendarDays size={40} color="#2563eb" />
|
||||
<CalendarDays size={40} color="#2563eb" pointerEvents="none"/>
|
||||
</View>
|
||||
<Text className="text-lg font-bold text-gray-700 text-center">Gestisci Permessi</Text>
|
||||
</TouchableOpacity>
|
||||
@@ -159,7 +159,7 @@ export default function HomeScreen() {
|
||||
|
||||
{/* Icon */}
|
||||
<View className={`${config.bg} p-4 rounded-2xl flex-shrink-0`}>
|
||||
<IconComponent size={24} color={config.color} />
|
||||
<IconComponent size={24} color={config.color} pointerEvents="none"/>
|
||||
</View>
|
||||
|
||||
{/* Title and Subtitle */}
|
||||
@@ -206,4 +206,4 @@ export default function HomeScreen() {
|
||||
</ScrollView>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user