fixed default theme

This commit is contained in:
antelle 2020-12-01 19:53:18 +01:00
parent 29a4d367f9
commit 00be6f0181
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ class Plugin extends Model {
removeTheme(theme) {
delete SettingsManager.allThemes[theme.name];
if (AppSettingsModel.theme === theme.name) {
AppSettingsModel.theme = 'fb';
AppSettingsModel.theme = SettingsManager.getDefaultTheme();
}
delete BaseLocale[this.getThemeLocaleKey(theme.name)];
}