100000000k

This commit is contained in:
Aevann1 2022-01-19 08:20:05 +02:00
parent fc832182a2
commit 35d071590c
15 changed files with 126 additions and 76 deletions

View file

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