Update icons with pointerEvents="none" and upgrade lucide-react-native to v0.563.0
This commit is contained in:
@@ -84,7 +84,7 @@ export default function AutomationDetailScreen() {
|
||||
if (!area) {
|
||||
return (
|
||||
<View className="flex-1 items-center justify-center">
|
||||
<WifiOff size={48} color="#9ca3af" />
|
||||
<WifiOff size={48} color="#9ca3af" pointerEvents="none" />
|
||||
<Text className="text-xl text-gray-600 font-bold mt-4">Area non trovata</Text>
|
||||
<Text className="text-gray-400 text-center mt-2 mb-4">L'area che stai cercando non esiste o è stata rimossa.</Text>
|
||||
<TouchableOpacity onPress={() => router.back()} className="mt-4 bg-[#099499] px-6 py-3 rounded-xl active:scale-95">
|
||||
@@ -101,7 +101,7 @@ export default function AutomationDetailScreen() {
|
||||
<View className="flex-row justify-between items-center">
|
||||
<View className='flex-row items-center gap-4'>
|
||||
<TouchableOpacity onPress={() => router.back()} className='rounded-full active:bg-gray-100'>
|
||||
<ChevronLeft size={28} color="#4b5563" />
|
||||
<ChevronLeft size={28} color="#4b5563" pointerEvents="none" />
|
||||
</TouchableOpacity>
|
||||
<Text className="text-2xl font-bold text-gray-800">{area.name}</Text>
|
||||
</View>
|
||||
@@ -122,7 +122,7 @@ export default function AutomationDetailScreen() {
|
||||
</View>
|
||||
) : (
|
||||
<View className="items-center">
|
||||
<ServerOff size={48} color="#9ca3af" />
|
||||
<ServerOff size={48} color="#9ca3af" pointerEvents="none" />
|
||||
<Text className="text-lg text-gray-500 font-medium mt-4">Nessun dispositivo</Text>
|
||||
<Text className="text-center text-gray-400 mt-2">
|
||||
Non ci sono dispositivi in quest'area.
|
||||
|
||||
Reference in New Issue
Block a user