diff options
author | Simon L. <szaimen@e.mail.de> | 2025-01-31 16:10:31 +0100 |
---|---|---|
committer | Simon L. <szaimen@e.mail.de> | 2025-01-31 16:10:31 +0100 |
commit | 50cd8a59668c7d6554f04cd1e77f4ab6be62847c (patch) | |
tree | 89330929f279e8132ee03254517ae95075462316 | |
parent | 8bc5ec187966f00521ba68a832215aaaaa440ed8 (diff) | |
download | nextcloud-server-enh/49868/adjust-display-mode.tar.gz nextcloud-server-enh/49868/adjust-display-mode.zip |
feat(PWA): change `display-mode` to `minimal-ui`enh/49868/adjust-display-mode
Signed-off-by: Simon L. <szaimen@e.mail.de>
-rw-r--r-- | apps/theming/lib/Controller/ThemingController.php | 2 | ||||
-rw-r--r-- | apps/theming/tests/Controller/ThemingControllerTest.php | 2 | ||||
-rw-r--r-- | core/img/manifest.json | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php index 983a738ea70..3834ddeafa4 100644 --- a/apps/theming/lib/Controller/ThemingController.php +++ b/apps/theming/lib/Controller/ThemingController.php @@ -481,7 +481,7 @@ class ThemingController extends Controller { 'sizes' => '16x16' ] ], - 'display' => 'standalone' + 'display' => 'minimal-ui' ]; $response = new JSONResponse($responseJS); $response->cacheFor(3600); diff --git a/apps/theming/tests/Controller/ThemingControllerTest.php b/apps/theming/tests/Controller/ThemingControllerTest.php index 3c283fcb697..7e44dca7ee1 100644 --- a/apps/theming/tests/Controller/ThemingControllerTest.php +++ b/apps/theming/tests/Controller/ThemingControllerTest.php @@ -750,7 +750,7 @@ class ThemingControllerTest extends TestCase { 'sizes' => '16x16' ] ], - 'display' => 'standalone', + 'display' => 'minimal-ui', 'short_name' => 'Nextcloud', 'theme_color' => null, 'background_color' => null, diff --git a/core/img/manifest.json b/core/img/manifest.json index 04e77df7a59..c67a8e120af 100644 --- a/core/img/manifest.json +++ b/core/img/manifest.json @@ -10,5 +10,5 @@ "type": "image/svg+xml", "sizes": "16x16" }], - "display": "standalone" + "display": "minimal-ui" } |