From 6e277ca940bea9e6473c20f7b9a2a633593af825 Mon Sep 17 00:00:00 2001 From: Sergei Date: Fri, 9 Jan 2026 19:47:46 -0800 Subject: [PATCH] Use Pressable instead of TouchableOpacity for Back button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TouchableOpacity inside ScrollView sometimes doesn't respond. Pressable is more reliable. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/(tabs)/beneficiaries/[id]/equipment-status.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/(tabs)/beneficiaries/[id]/equipment-status.tsx b/app/(tabs)/beneficiaries/[id]/equipment-status.tsx index 084ae1b..dfbd557 100644 --- a/app/(tabs)/beneficiaries/[id]/equipment-status.tsx +++ b/app/(tabs)/beneficiaries/[id]/equipment-status.tsx @@ -5,6 +5,7 @@ import { StyleSheet, ScrollView, TouchableOpacity, + Pressable, ActivityIndicator, RefreshControl, } from 'react-native'; @@ -278,8 +279,11 @@ export default function EquipmentStatusScreen() { {/* Back to Loved Ones Button - above action button */} - [ + styles.backToLovedOnesButton, + pressed && { opacity: 0.7 } + ]} onPress={() => { console.log('[EquipmentStatus] Back to Loved Ones pressed'); router.push('/(tabs)/beneficiaries'); @@ -287,7 +291,7 @@ export default function EquipmentStatusScreen() { > Back to My Loved Ones - + {/* Action Button */}