LeoColman / Petals

🌻 The Open Source app Petals aims to help its users to either quit weed, reduce usage or simply know how much they're using.
GNU Affero General Public License v3.0
85 stars 33 forks source link

✨ Add a Day/Night switch that doesn't depend on the System Theme #609

Closed gBL17 closed 5 months ago

gBL17 commented 5 months ago

Implemented a new feature that allows the user to switch between Day mode and Night mode in the app.

This feature improves user experience as they can manually select their preferred theme, irrespective of the system default setting. Special consideration was given to persist the user's choice so that their preference is saved and applied for subsequent app uses.

The Day/Night mode switch was implemented in the Settings and Main activity, making it easily accessible for users.

Tests were also written to validate the functionality and ensure the application's robustness.

This is an important update as it gives more customization control to users, therefore improving overall app usability and user satisfaction.