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

@@ -66,7 +66,7 @@ export default function SitesScreen() {
{/* Search Bar */}
<View className={`relative justify-center`}>
<View className="absolute left-4 z-10">
<Search size={24} color="#9ca3af" />
<Search size={24} color="#9ca3af" pointerEvents="none" />
</View>
<TextInput
placeholder="Cerca per codice o nome cantiere..."
@@ -99,13 +99,13 @@ export default function SitesScreen() {
>
<View className="flex-row items-center gap-5 flex-1">
<View className="bg-blue-50 p-4 rounded-2xl">
<Building2 size={32} color="#2563eb" />
<Building2 size={32} color="#2563eb" pointerEvents="none" />
</View>
<View className="flex-1">
<Text className="text-base font-medium text-gray-400 mb-0.5">{site.code}</Text>
<Text className="font-bold text-gray-800 text-lg mb-1">{site.name}</Text>
<View className="flex-row items-center mt-1">
<MapPin size={16} color="#9ca3af" />
<MapPin size={16} color="#9ca3af" pointerEvents="none" />
<Text className="text-sm text-gray-400 ml-1 font-medium">
{site.attachments_count} Documenti disponibili
</Text>
@@ -113,7 +113,7 @@ export default function SitesScreen() {
</View>
</View>
<ChevronRight size={24} color="#9ca3af" />
<ChevronRight size={24} color="#9ca3af" pointerEvents="none" />
</TouchableOpacity>
))}