From fa050fb8a8fe988638ca4f3083360cfcaca2a047 Mon Sep 17 00:00:00 2001 From: Svallinn <41585298+Svallinn@users.noreply.github.com> Date: Wed, 17 Mar 2021 19:07:38 +0000 Subject: [PATCH] Fix: functional hl / dark_mode / thin_mode params --- src/invidious.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/invidious.cr b/src/invidious.cr index 6d0238a1..89d99ecc 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -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