Update LabsSettings.php

This commit is contained in:
Shlee 2022-05-18 11:48:16 +09:30 committed by GitHub
parent ae595c5611
commit 9b792e8e98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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