Fix: functional hl / dark_mode / thin_mode params

This commit is contained in:
Svallinn 2021-03-17 19:07:38 +00:00
parent e27aaf9ba1
commit fa050fb8a8
No known key found for this signature in database
GPG Key ID: 09FB527F34037CCA

View File

@ -289,6 +289,7 @@ before_all do |env|
preferences.dark_mode = dark_mode preferences.dark_mode = dark_mode
preferences.thin_mode = thin_mode preferences.thin_mode = thin_mode
preferences.locale = locale preferences.locale = locale
env.set "preferences", preferences
current_page = env.request.path current_page = env.request.path
if env.request.query if env.request.query