mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-30 02:03:16 +00:00
Update LabsSettings.php
This commit is contained in:
parent
ae595c5611
commit
9b792e8e98
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ trait LabsSettings {
|
||||||
$cookie = Cookie::forget('dark-mode');
|
$cookie = Cookie::forget('dark-mode');
|
||||||
if($request->has('dark_mode')) {
|
if($request->has('dark_mode')) {
|
||||||
if($request->dark_mode == 'on') {
|
if($request->dark_mode == 'on') {
|
||||||
$cookie = Cookie::make('dark-mode', true, 43800);
|
$cookie = Cookie::make('dark-mode', 'true', 43800);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue