Fixed: Theme of wiki and saved pages were set to white even though

the setting was auto and the browser had a dark theme.
This commit is contained in:
memreyagci 2021-04-01 22:29:47 +02:00
parent 24c55d8708
commit 88621b9ecd
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ html
head
title saved
include includes/head.pug
body(class=""+ user_preferences.theme +"")
body(class=""+ (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + "")
include includes/topbar.pug
if json === null
h1 No saved posts

View File

@ -3,7 +3,7 @@ html
head
title wiki /r/#{subreddit}
include includes/head.pug
body(class=""+ user_preferences.theme +"")
body(class=""+ (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + "")
include includes/topbar.pug
if json === null
h1 Error occured