mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +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');
|
$mode = $request->input('mode');
|
||||||
|
|
||||||
if($mode == 'dark') {
|
if($mode == 'dark') {
|
||||||
$cookie = Cookie::make('dark-mode', true, 43800);
|
$cookie = Cookie::make('dark-mode', 'true', 43800);
|
||||||
} else {
|
} else {
|
||||||
$cookie = Cookie::forget('dark-mode');
|
$cookie = Cookie::forget('dark-mode');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue