mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Fix: functional hl / dark_mode / thin_mode params
This commit is contained in:
parent
e27aaf9ba1
commit
fa050fb8a8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue