mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 10:45:34 +08:00
Use any
orientation for web app manifest.
This commit is contained in:
parent
1758af9a1d
commit
d6bf5b0e78
@ -17,7 +17,7 @@ class MetadataController < ApplicationController
|
|||||||
name: SiteSetting.title,
|
name: SiteSetting.title,
|
||||||
short_name: SiteSetting.title,
|
short_name: SiteSetting.title,
|
||||||
display: 'standalone',
|
display: 'standalone',
|
||||||
orientation: 'portrait',
|
orientation: 'any',
|
||||||
start_url: "#{Discourse.base_uri}/",
|
start_url: "#{Discourse.base_uri}/",
|
||||||
background_color: "##{ColorScheme.hex_for_name('secondary')}",
|
background_color: "##{ColorScheme.hex_for_name('secondary')}",
|
||||||
theme_color: "##{ColorScheme.hex_for_name('header_background')}",
|
theme_color: "##{ColorScheme.hex_for_name('header_background')}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user