diff --git a/scripts/AnimeNotifier.ts b/scripts/AnimeNotifier.ts index 7240acc0..124ee629 100644 --- a/scripts/AnimeNotifier.ts +++ b/scripts/AnimeNotifier.ts @@ -117,7 +117,7 @@ export class AnimeNotifier { this.app.loading = this.app.find("loading") // Theme - if(this.user.dataset.theme !== "light") { + if(this.user && this.user.dataset.theme !== "light") { darkTheme() }