From: Dessalines Date: Wed, 13 Nov 2019 22:03:09 +0000 (-0800) Subject: Fix for non-logged-in user theme. X-Git-Url: http://these/git/%7BrepoUrl%7D?a=commitdiff_plain;h=cd7d3e3fd743d478e2c58007cb3c80d569e09079;p=lemmy.git Fix for non-logged-in user theme. Fixes #338 --- diff --git a/ui/src/services/UserService.ts b/ui/src/services/UserService.ts index b6d8b768..cdb340b6 100644 --- a/ui/src/services/UserService.ts +++ b/ui/src/services/UserService.ts @@ -17,9 +17,7 @@ export class UserService { if (jwt) { this.setUser(jwt); } else { - if (this.user.theme != 'darkly') { - setTheme(); - } + setTheme(); console.log('No JWT cookie found.'); } }