]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
2460e7c
)
Update PWA manifest orientation to any
4828/head
author
Mikhail Shashin
<redacted>
Mon, 5 Feb 2024 01:28:22 +0000
(
04:28
+0300)
committer
Mikhail Shashin
<redacted>
Mon, 5 Feb 2024 01:28:22 +0000
(
04:28
+0300)
Changed the orientation settings in PwaManifestBuilder.php from 'portrait' to 'any'. This allows the PWA to adjust to any screen orientation, enhancing user flexibility.
app/App/PwaManifestBuilder.php
patch
|
blob
|
history
diff --git
a/app/App/PwaManifestBuilder.php
b/app/App/PwaManifestBuilder.php
index ba4331a0f14522ab80f2bd2e93016941106409f4..81ab2fcd711d8f660ad8c55fc851f9f4d0c47b26 100644
(file)
--- 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('/icon-32.png'),