remotes/1693045480750635534/spooky-22
Aevann1 2022-01-12 06:56:41 +02:00
parent 7ac6b49a75
commit 11ef0b52d4
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ def settings_profile_post(v):
if theme:
if theme in ["classic","transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"]:
if theme == "transparent" and not v.background:
return render_template(f"{template}settings_profile.html", v=v, error="You need to set a background to use the transparent theme!")
return {"error": "You need to set a background to use the transparent theme!"}
v.theme = theme
if theme == "win98": v.themecolor = "30409f"
updated = True