Update SettingsController.php

This commit is contained in:
Shlee 2022-05-18 11:51:21 +09:30 committed by GitHub
parent 9b792e8e98
commit 7447209236
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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');
}