Formating Fixes

This commit is contained in:
JonatanRek 2023-09-22 11:18:10 +02:00
parent 9b99664bff
commit 2a2f893fcc
1 changed files with 44 additions and 61 deletions

View File

@ -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);
}
}