Browse Source

ui fix for #27

fix-133-memory-crash
Dan Janosik 7 years ago
parent
commit
f8a9bfe4ad
  1. 4
      views/layout.pug

4
views/layout.pug

@ -67,11 +67,11 @@ html
span(class="dropdown-header") Theme
a(class="dropdown-item", href="/changeSetting?name=uiTheme&value=light")
if (uiTheme == "light" || uiTheme == "")
if (session.uiTheme == "light" || session.uiTheme == "")
i(class="fas fa-check")
span Light
a(class="dropdown-item", href="/changeSetting?name=uiTheme&value=dark")
if (uiTheme == "dark")
if (session.uiTheme == "dark")
i(class="fas fa-check")
span Dark

Loading…
Cancel
Save