1
0
mirror of https://github.com/iv-org/invidious.git synced 2025-04-10 01:59:21 -04:00

Merge pull request 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

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