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.
This commit is contained in:
Mikhail Shashin 2024-02-05 04:28:22 +03:00
parent 2460e7c56e
commit 9fa68fd8ab
No known key found for this signature in database
GPG Key ID: 7597F8B03B2A4258

View File

@ -26,7 +26,7 @@ class PwaManifestBuilder
"launch_handler" => [ "launch_handler" => [
"client_mode" => "focus-existing" "client_mode" => "focus-existing"
], ],
"orientation" => "portrait", "orientation" => "any",
"icons" => [ "icons" => [
[ [
"src" => setting('app-icon-32') ?: url('/icon-32.png'), "src" => setting('app-icon-32') ?: url('/icon-32.png'),