Objective
Add a confirmation popup to the application to ensure that users explicitly approve before initiating a call to an emergency contact, preventing accidental calls.
Requirements
- Design and implement a popup dialog that appears when the user attempts to call an emergency contact.
- The popup should include:
- Clear message explaining the action (e.g., “Do you want to call this emergency contact?”)
- Confirm and Cancel buttons
- Ensure proper integration with the existing Danger Mode or emergency contact workflow.
- The call should only proceed if the user taps Confirm.
- The popup should respect theming and display correctly in both light and dark modes.
- Maintain accessibility standards (readable text, tappable buttons, proper focus handling).
Expected Outcome
- Users are prompted with a confirmation dialog before any emergency call.
- Emergency calls only proceed after explicit user confirmation.
- The popup is visually consistent with the app and functions correctly across devices and screen sizes.
Objective
Add a confirmation popup to the application to ensure that users explicitly approve before initiating a call to an emergency contact, preventing accidental calls.
Requirements
Expected Outcome