From: Mikhail Shashin Date: Mon, 5 Feb 2024 01:28:22 +0000 (+0300) Subject: Update PWA manifest orientation to any X-Git-Tag: v24.02~1^2~17^2 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/refs/pull/4828/head?ds=sidebyside Update PWA manifest orientation to any Changed the orientation settings in PwaManifestBuilder.php from 'portrait' to 'any'. This allows the PWA to adjust to any screen orientation, enhancing user flexibility. --- diff --git a/app/App/PwaManifestBuilder.php b/app/App/PwaManifestBuilder.php index ba4331a0f..81ab2fcd7 100644 --- a/app/App/PwaManifestBuilder.php +++ b/app/App/PwaManifestBuilder.php @@ -26,7 +26,7 @@ class PwaManifestBuilder "launch_handler" => [ "client_mode" => "focus-existing" ], - "orientation" => "portrait", + "orientation" => "any", "icons" => [ [ "src" => setting('app-icon-32') ?: url('/https/source.bookstackapp.com/icon-32.png'),