From aadcd909c0518f623fc8a31f50fc2b8a9354a44b Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Wed, 5 Feb 2025 15:14:12 +0100 Subject: [PATCH] Update ThemingController.php --- apps/theming/lib/Controller/ThemingController.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php index 887c290463e9c..c3f365a11b6e3 100644 --- a/apps/theming/lib/Controller/ThemingController.php +++ b/apps/theming/lib/Controller/ThemingController.php @@ -454,12 +454,10 @@ public function getManifest(string $app): JSONResponse { $startUrl = $this->urlGenerator->getBaseUrl() . '/apps/' . $app . '/'; } $description = $info['summary'] ?? ''; - $displayMode = $this->config->getSystemValueBool('theming.standalone_window.enabled', true) ? 'standalone' : 'browser'; } /** * @var string $description * @var string $shortName - * @var string $displayMode */ $responseJS = [ 'name' => $name, @@ -483,7 +481,7 @@ public function getManifest(string $app): JSONResponse { 'sizes' => '16x16' ] ], - 'display' => $displayMode + 'display' => $this->config->getSystemValueBool('theming.standalone_window.enabled', true) ? 'standalone' : 'browser' ]; $response = new JSONResponse($responseJS); $response->cacheFor(3600);