forked from rDrama/rDrama
master
parent
7ac6b49a75
commit
11ef0b52d4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue