Add Alert debug for Back button to diagnose issue

This commit is contained in:
Sergei 2026-01-09 19:49:21 -08:00
parent 657737e5a4
commit 5489b16a13

View File

@ -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} />