Don't apply transition while applying theme

We are no longer an activity but fragment

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2023-07-21 17:47:20 +05:30
parent 581d5b8eae
commit 9bff289e0a
2 changed files with 2 additions and 2 deletions

View File

@@ -125,7 +125,7 @@ class AccentFragment : BaseFragment() {
}
private fun updateAccent(accentId: Int) {
applyTheme(themeId, position = 3)
applyTheme(themeId, false)
save(PREFERENCE_THEME_ACCENT, accentId)
}

View File

@@ -111,7 +111,7 @@ class ThemeFragment : BaseFragment() {
}
private fun update(themeId: Int) {
applyTheme(themeId)
applyTheme(themeId, false)
save(PREFERENCE_THEME_TYPE, themeId)
}