Fix Dark theme
This commit is contained in:
parent
2b604b5af9
commit
cb9c3fc9f5
|
@ -149,7 +149,11 @@ class HomeController extends Controller
|
||||||
{
|
{
|
||||||
$manifest = config('manifest');
|
$manifest = config('manifest');
|
||||||
|
|
||||||
|
if (setting()->getForCurrentUser('dark-mode-enabled')){
|
||||||
|
$manifest["background_color"] = setting('app-color-dark');
|
||||||
|
}else{
|
||||||
$manifest["background_color"] = setting('app-color');
|
$manifest["background_color"] = setting('app-color');
|
||||||
|
}
|
||||||
|
|
||||||
return response()->json($manifest);
|
return response()->json($manifest);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue