Formating Fixes
This commit is contained in:
parent
9b99664bff
commit
2a2f893fcc
|
@ -140,21 +140,4 @@ class HomeController extends Controller
|
|||
$exists = $favicons->restoreOriginalIfNotExists();
|
||||
return response()->file($exists ? $favicons->getPath() : $favicons->getOriginalPath());
|
||||
}
|
||||
|
||||
/**
|
||||
* Serve the application manifest.
|
||||
* Ensures a 'manifest.json'
|
||||
*/
|
||||
public function manifest()
|
||||
{
|
||||
$manifest = config('manifest');
|
||||
|
||||
if (setting()->getForCurrentUser('dark-mode-enabled')){
|
||||
$manifest["background_color"] = setting('app-color-dark');
|
||||
}else{
|
||||
$manifest["background_color"] = setting('app-color');
|
||||
}
|
||||
|
||||
return response()->json($manifest);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue