mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Wait system theme to catch up status
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
7452ebdb60
commit
336dc6896a
@ -93,7 +93,11 @@ export class ThemeStore extends Singleton {
|
||||
|
||||
makeObservable(this);
|
||||
autoBind(this);
|
||||
this.setNativeTheme();
|
||||
this.init();
|
||||
}
|
||||
|
||||
async init() {
|
||||
await this.setNativeTheme();
|
||||
this.bindNativeThemeUpdateEvent();
|
||||
|
||||
// auto-apply active theme
|
||||
|
||||
Loading…
Reference in New Issue
Block a user