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 }
|
pressed && { opacity: 0.7 }
|
||||||
]}
|
]}
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
console.log('[EquipmentStatus] Back to Loved Ones pressed');
|
Alert.alert('Debug', 'Button pressed! Navigating...', [
|
||||||
router.push('/(tabs)/beneficiaries');
|
{
|
||||||
|
text: 'OK',
|
||||||
|
onPress: () => router.push('/(tabs)/beneficiaries')
|
||||||
|
}
|
||||||
|
]);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Ionicons name="people" size={20} color={AppColors.white} />
|
<Ionicons name="people" size={20} color={AppColors.white} />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user