From be49ed862ff2ad382d6454d3f7a256af5cd6857d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 22 Apr 2022 22:08:52 +0200 Subject: [PATCH] fds --- files/routes/settings.py | 2 +- files/templates/settings_profile.html | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/files/routes/settings.py b/files/routes/settings.py index 781c7e6c5d..d955fe4462 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -289,7 +289,7 @@ def settings_profile_post(v): theme = request.values.get("theme") if theme: - if theme in {"dramblr", "classic", "classic_dark", "transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"}: + if theme in {"dramblr", "reddit", "reddit_dark", "classic", "classic_dark", "transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"}: if theme == "transparent" and not v.background: return {"error": "You need to set a background to use the transparent theme!"} v.theme = theme diff --git a/files/templates/settings_profile.html b/files/templates/settings_profile.html index 1a333721cb..a9719b1d78 100644 --- a/files/templates/settings_profile.html +++ b/files/templates/settings_profile.html @@ -128,7 +128,14 @@

Change the theme for the website.