Skip to content

Commit a3f59cd

Browse files
committed
WIP
Signed-off-by: Simon L. <szaimen@e.mail.de>
1 parent a026e8f commit a3f59cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/theming/lib/Controller/ThemingController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ public function getManifest(string $app): JSONResponse {
481481
'sizes' => '16x16'
482482
]
483483
],
484-
'display_override' => ['minimal-ui'],
484+
'display_override' => [$this->config->getSystemValueBool('theming.standalone_window.enabled', true) ? 'minimal-ui' : ''],
485485
'display' => $this->config->getSystemValueBool('theming.standalone_window.enabled', true) ? 'standalone' : 'browser'
486486
];
487487
$response = new JSONResponse($responseJS);

apps/theming/tests/Controller/ThemingControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ public function testGetManifest(bool $standalone): void {
765765
'sizes' => '16x16'
766766
]
767767
],
768-
'display_override' => ['minimal-ui'],
768+
'display_override' => [$standalone ? 'minimal-ui' : ''],
769769
'display' => $standalone ? 'standalone' : 'browser',
770770
'short_name' => 'Nextcloud',
771771
'theme_color' => null,

0 commit comments

Comments
 (0)