Merge pull request #1899 from Svallinn/master

Fix: functional hl / dark_mode / thin_mode params
This commit is contained in:
TheFrenchGhosty 2021-03-19 17:34:46 +00:00 committed by GitHub
commit 5ec23df460
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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