From 74472092360f2c166f7d9436cf8841df1ce60987 Mon Sep 17 00:00:00 2001 From: Shlee Date: Wed, 18 May 2022 11:51:21 +0930 Subject: [PATCH] Update SettingsController.php --- app/Http/Controllers/SettingsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.php index 318b75919..27f4a84cb 100644 --- a/app/Http/Controllers/SettingsController.php +++ b/app/Http/Controllers/SettingsController.php @@ -163,7 +163,7 @@ class SettingsController extends Controller $mode = $request->input('mode'); if($mode == 'dark') { - $cookie = Cookie::make('dark-mode', true, 43800); + $cookie = Cookie::make('dark-mode', 'true', 43800); } else { $cookie = Cookie::forget('dark-mode'); }