mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-02 08:53:13 +05:30
Fix: functional hl / dark_mode / thin_mode params
This commit is contained in:
parent
e27aaf9ba1
commit
fa050fb8a8
@ -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 New Issue
Block a user