Fix this reference

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2020-11-10 13:36:51 +03:00
1 parent 3854a45308
commit eb3c84bae5
1 file changed
+1 -1
+1 -1
View File
@@ -89,7 +89,7 @@ export class UserStore extends BaseStore<UserStoreModel> {
@action
async resetTheme() {
await userStore.whenLoaded;
await this.whenLoaded;
this.preferences.colorTheme = UserStore.defaultTheme;
}