From 04f00fddfa62956a62e5b5d71f0c0d23af5594d6 Mon Sep 17 00:00:00 2001
From: Davide <davide@suma-ev.de>
Date: Tue, 20 Oct 2020 09:53:18 +0200
Subject: [PATCH] fixed dark mode cookie awareness

---
 app/Http/Controllers/SettingsController.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.php
index c6bb7a55d..48528b155 100644
--- a/app/Http/Controllers/SettingsController.php
+++ b/app/Http/Controllers/SettingsController.php
@@ -82,8 +82,7 @@ class SettingsController extends Controller
             ->with('settingActive', $settingActive)
             ->with('url', $url)
             ->with('blacklist', $blacklist)
-            ->with('cookieLink', $cookieLink)
-            ->with('darkmode', Cookie::get('dark_mode'));
+            ->with('cookieLink', $cookieLink);
     }
 
     private function getSumas($fokus)
-- 
GitLab