fix: only show color scheme toast if change is required (#973)
This commit is contained in:
@@ -198,7 +198,7 @@ export class ThemeManager extends ApplicationService {
|
||||
const isDefaultThemePreferredAndNotActive =
|
||||
themeIdentifier === DefaultThemeIdentifier && activeTheme
|
||||
|
||||
if (isPreferredThemeNotActive || isDefaultThemePreferredAndNotActive) {
|
||||
if (isPreferredThemeNotActive && isDefaultThemePreferredAndNotActive) {
|
||||
this.showColorSchemeToast(setTheme)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user