Use `natural` orientation for web app manifest.
The `any` orientation forces the rotation even when the device's screen rotation is disabled. Using `natural` respects that and restores the expected behaviour.
This commit is contained in:
parent
22c83b0a20
commit
1deec95ccb
|
@ -17,7 +17,7 @@ class MetadataController < ApplicationController
|
|||
name: SiteSetting.title,
|
||||
short_name: SiteSetting.title,
|
||||
display: 'standalone',
|
||||
orientation: 'any',
|
||||
orientation: 'natural',
|
||||
start_url: "#{Discourse.base_uri}/",
|
||||
background_color: "##{ColorScheme.hex_for_name('secondary')}",
|
||||
theme_color: "##{ColorScheme.hex_for_name('header_background')}",
|
||||
|
|
Loading…
Reference in New Issue