[PR #2703] [PM-3512] Settings Appearance #3753

Closed
opened 2025-11-26 23:36:53 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/bitwarden/android/pull/2703

State: closed
Merged: Yes


Type of change

  • Bug fix
  • New feature development
  • Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • Build/deploy pipeline (DevOps)
  • Other

Objective

Implemented new view for settings: Appearance.

Code changes

  • PickerViewModel: Improved it to reuse code and also added afterSelectionChangedAsync to be able to perform actions after the picker selected value has been set.
  • AppearanceSettingsPage/ViewModel: Implemented new Appearance view with new PickerViewModel approach.
  • Other settings views: Made the navigation to not be modal, removed the toolbar item for the back button given that the default is being used and changed the base class to be BaseContentPage instead the modal one.
  • Other: Moved updatedTheme to a constant and updated everywhere to used that constant

Screenshots

Android Appearance Light

Android Appearance Light

Android Appearance Dark

Android Appearance Dark

iOS Appearance Light

iOS Appearance Light

iOS Appearance Dark

iOS Appearance Dark

Before you submit

  • Please check for formatting errors (dotnet format --verify-no-changes) (required)
  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team
**Original Pull Request:** https://github.com/bitwarden/android/pull/2703 **State:** closed **Merged:** Yes --- ## Type of change - [ ] Bug fix - [X] New feature development - [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc) - [ ] Build/deploy pipeline (DevOps) - [ ] Other ## Objective <!--Describe what the purpose of this PR is. For example: what bug you're fixing or what new feature you're adding--> Implemented new view for settings: Appearance. ## Code changes <!--Explain the changes you've made to each file or major component. This should help the reviewer understand your changes--> <!--Also refer to any related changes or PRs in other repositories--> * **PickerViewModel:** Improved it to reuse code and also added `afterSelectionChangedAsync` to be able to perform actions after the picker selected value has been set. * **AppearanceSettingsPage/ViewModel:** Implemented new Appearance view with new `PickerViewModel` approach. * **Other settings views:** Made the navigation to not be modal, removed the toolbar item for the back button given that the default is being used and changed the base class to be `BaseContentPage` instead the modal one. * **Other:** Moved `updatedTheme` to a constant and updated everywhere to used that constant ## Screenshots <!--Required for any UI changes. Delete if not applicable--> ### Android Appearance Light <img width="314" alt="Android Appearance Light" src="https://github.com/bitwarden/mobile/assets/15682323/7e1abe08-5190-4a0c-887e-19958783cf01"> ### Android Appearance Dark <img width="314" alt="Android Appearance Dark" src="https://github.com/bitwarden/mobile/assets/15682323/024df571-3643-4172-aad0-a003c23fc4b2"> ### iOS Appearance Light <img width="314" alt="iOS Appearance Light" src="https://github.com/bitwarden/mobile/assets/15682323/b409926e-1bc6-4e89-8522-da0fbc2a0d7e"> ### iOS Appearance Dark <img width="314" alt="iOS Appearance Dark" src="https://github.com/bitwarden/mobile/assets/15682323/eb9e8624-a898-4d17-9b48-83b265054c59"> ## Before you submit - Please check for formatting errors (`dotnet format --verify-no-changes`) (required) - Please add **unit tests** where it makes sense to do so (encouraged but not required) - If this change requires a **documentation update** - notify the documentation team - If this change has particular **deployment requirements** - notify the DevOps team
GiteaMirror added the pull-request label 2025-11-26 23:36:54 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#3753