mirror of https://github.com/iv-org/invidious.git
Merge pull request #1899 from Svallinn/master
Fix: functional hl / dark_mode / thin_mode params
This commit is contained in:
commit
5ec23df460
|
@ -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