mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
Fix theme cached handling
This commit is contained in:
parent
b85ed63ff6
commit
e30f9854b7
4 changed files with 22 additions and 21 deletions
|
|
@ -37,7 +37,7 @@ import { IdentityUserStore } from 'Stores/User/Identity';
|
|||
import { FolderUserStore } from 'Stores/User/Folder';
|
||||
import { PgpUserStore } from 'Stores/User/Pgp';
|
||||
import { MessagelistUserStore } from 'Stores/User/Messagelist';
|
||||
import { ThemeStore, changeTheme } from 'Stores/Theme';
|
||||
import { ThemeStore, initThemes } from 'Stores/Theme';
|
||||
import { LanguageStore } from 'Stores/Language';
|
||||
import { MessageUserStore } from 'Stores/User/Message';
|
||||
|
||||
|
|
@ -191,9 +191,8 @@ export class AppUser extends AbstractApp {
|
|||
}
|
||||
|
||||
refresh() {
|
||||
ThemeStore.populate();
|
||||
initThemes();
|
||||
LanguageStore.language(SettingsGet('language'));
|
||||
changeTheme(SettingsGet('Theme'));
|
||||
this.start();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue