mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update SettingsController.php
This commit is contained in:
parent
9b792e8e98
commit
7447209236
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue