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:
@@ -125,7 +125,7 @@ class AccentFragment : BaseFragment() {
|
||||
}
|
||||
|
||||
private fun updateAccent(accentId: Int) {
|
||||
applyTheme(themeId, position = 3)
|
||||
applyTheme(themeId, false)
|
||||
save(PREFERENCE_THEME_ACCENT, accentId)
|
||||
}
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ class ThemeFragment : BaseFragment() {
|
||||
}
|
||||
|
||||
private fun update(themeId: Int) {
|
||||
applyTheme(themeId)
|
||||
applyTheme(themeId, false)
|
||||
save(PREFERENCE_THEME_TYPE, themeId)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user