diff --git a/src/common/user-store.ts b/src/common/user-store.ts index b03616c1d2..0fdf6e6fab 100644 --- a/src/common/user-store.ts +++ b/src/common/user-store.ts @@ -88,7 +88,8 @@ export class UserStore extends BaseStore { } @action - resetTheme() { + async resetTheme() { + await userStore.whenLoaded; this.preferences.colorTheme = UserStore.defaultTheme; }