This commit is contained in:
Aevann1 2022-01-19 11:25:37 +02:00
parent 048b79bd3a
commit cc6ed865b8
2 changed files with 2 additions and 2 deletions

View file

@ -330,7 +330,7 @@ def settings_profile_post(v):
theme = request.values.get("theme")
if theme:
if theme in ["drambler","classic","transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"]:
if theme in ["dramablr","classic","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