ultimate_alarm_clock
ultimate_alarm_clock copied to clipboard
App Theming Process Updated as per Issue #576
Description Issue No. - #576
This change addresses Issue #576 by adopting a more robust theming mechanism for the application. Also, regarding the theme issue on Add Timer Dialog Box.
Proposed Changes
Previous Method:
- Relied on the variable
var isLightMode = true.obs;
inlib/app/modules/settings/controllers/theme_controller.dart
.
New Method (Inspired by reference article as mentioned in the Issue):
- Leverages
themeController.currentTheme.value == ThemeMode.light
to check the current theme state.
Fixes #576
Screenshots
Checklist
- [ ] Tests have been added or updated to cover the changes
- [X] Documentation has been updated to reflect the changes
- [X] Code follows the established coding style guidelines
- [X] All tests are passing