do not show the Custom toast at switching to Auto

This commit is contained in:
tibbi 2021-11-03 23:23:21 +01:00
parent 1bf231ddc2
commit 839850202d

View file

@ -193,7 +193,7 @@ class CustomizationActivity : BaseSimpleActivity() {
}
updateColorTheme(it as Int, true)
if (it != THEME_CUSTOM && it != THEME_SHARED && !baseConfig.wasCustomThemeSwitchDescriptionShown) {
if (it != THEME_CUSTOM && it != THEME_SHARED && it != THEME_AUTO && !baseConfig.wasCustomThemeSwitchDescriptionShown) {
baseConfig.wasCustomThemeSwitchDescriptionShown = true
toast(R.string.changing_color_description)
}