Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Fix-Issue-2939 #2943

Merged
merged 1 commit into from
Feb 11, 2024
Merged

Fix-Issue-2939 #2943

merged 1 commit into from
Feb 11, 2024

Conversation

michalguspiel
Copy link
Contributor

Pull Request (PR) Checklist

Please check if your pull request fulfills the following requirements:

  • The PR is submitted to the main branch.
  • I've read the Contribution Guidelines and my PR doesn't break the rules.
  • I've read the Architecture Guidelines.
  • I confirm that I've run the code locally and everything works as expected.
  • 🎬 I've attached a screen recoding of the changes.

What's changed?

  • Implemented getSettingsWithNextTheme function in SettingsAct. Thanks to this change, codebase is a bit more DRY.
  • Refactored SettingsViewModel and HomeViewModel to use this function when changing the theme.
  • Changed theme in HomeViewModel to currentTheme to ensure consistency of naming in SettingsViewModel and HomeViewModel
Screen.Recording.2024-02-10.at.20.26.47.mov

Risk Factors

  • None I guess

Does this PR closes any GitHub Issues?

Troubleshooting CI failures ❌

GitHub Actions failing? Read our CI Troubleshooting guide.

- Implemented getSettingsWithNextTheme function in SettingsAct. Thanks to this change, codebase is a bit more DRY.
 - Refactored SettingsViewModel and HomeViewModel to use this function when changing the theme.
 - Changed `theme` in HomeViewModel to `currentTheme` to ensure consistency of naming in SettingsViewModel and HomeViewModel.
@ILIYANGERMANOV ILIYANGERMANOV merged commit e7d98d9 into Ivy-Apps:main Feb 11, 2024
8 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Theme switching in the Quick Access menu doesn't work
2 participants