From 9b792e8e98a4fe323c680641cd9505328b717f95 Mon Sep 17 00:00:00 2001 From: Shlee Date: Wed, 18 May 2022 11:48:16 +0930 Subject: [PATCH] Update LabsSettings.php --- app/Http/Controllers/Settings/LabsSettings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Settings/LabsSettings.php b/app/Http/Controllers/Settings/LabsSettings.php index 6aa08b785..30f4c2494 100644 --- a/app/Http/Controllers/Settings/LabsSettings.php +++ b/app/Http/Controllers/Settings/LabsSettings.php @@ -36,7 +36,7 @@ trait LabsSettings { $cookie = Cookie::forget('dark-mode'); if($request->has('dark_mode')) { if($request->dark_mode == 'on') { - $cookie = Cookie::make('dark-mode', true, 43800); + $cookie = Cookie::make('dark-mode', 'true', 43800); } } @@ -93,4 +93,4 @@ trait LabsSettings { 'royal' ]; } -} \ No newline at end of file +}