Successfully created and wrote to new file: /home/Messier82/.gemini/tmp/service-book/69a211a6-4542-4f6d-bcc1-406c97c13374/plans/plan-default-consent.md. Here is the updated code: # Plan: Default Consent State Update ## Objective Enable crash reporting consent by default in both primary scenarios: the initial setup screen and the consent dialog for existing users. ## Key Files & Context - `app/src/main/java/com/servicebook/ui/navigation/AppNavGraph.kt` - `app/src/main/java/com/servicebook/ui/vehicles/VehicleListScreen.kt` - `app/src/main/java/com/servicebook/ui/vehicles/VehicleListViewModel.kt` ## Implementation Steps ### 1. Update Setup Screen Default In `AppNavGraph.kt`: - Change the initial value of `crashReportingEnabled` from `false` to `true`. ### 2. Update Consent Dialog In `VehicleListScreen.kt` and `VehicleListViewModel.kt`: - **Option A (If adding a toggle):** Restructure the `ConsentDialog` to include a `Switch` that defaults to `true`. - **Option B (If keeping buttons):** Ensure the UI or logic implies it's "on" by default. *Self-correction:* Since the user mentioned "selector" and "both scenarios", I will ADD a Switch to the `ConsentDialog` to match the Setup screen UI. This ensures a consistent "selector" experience. ### 3. Adjust Tests - Update `SetupScreenshotTest.kt` to expect the toggle to be ON by default. - Update `VehicleListConsentDialogTest.kt` to handle the new dialog structure with a toggle. ## Verification & Testing 1. Run all unit tests to ensure default state is correctly captured. 2. Re-record screenshot baselines.