Fixed null reference
This commit is contained in:
parent
b6594fc0b8
commit
dbe7371921
@ -117,7 +117,7 @@ export class AnimeNotifier {
|
|||||||
this.app.loading = this.app.find("loading")
|
this.app.loading = this.app.find("loading")
|
||||||
|
|
||||||
// Theme
|
// Theme
|
||||||
if(this.user.dataset.theme !== "light") {
|
if(this.user && this.user.dataset.theme !== "light") {
|
||||||
darkTheme()
|
darkTheme()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user