Add Alert debug for Back button to diagnose issue
This commit is contained in:
parent
657737e5a4
commit
5489b16a13
@ -286,8 +286,12 @@ export default function EquipmentStatusScreen() {
|
||||
pressed && { opacity: 0.7 }
|
||||
]}
|
||||
onPress={() => {
|
||||
console.log('[EquipmentStatus] Back to Loved Ones pressed');
|
||||
router.push('/(tabs)/beneficiaries');
|
||||
Alert.alert('Debug', 'Button pressed! Navigating...', [
|
||||
{
|
||||
text: 'OK',
|
||||
onPress: () => router.push('/(tabs)/beneficiaries')
|
||||
}
|
||||
]);
|
||||
}}
|
||||
>
|
||||
<Ionicons name="people" size={20} color={AppColors.white} />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user