Merge pull request #4703 from ndossougbete/ndossougbete-patch-1

Use `natural` orientation for web app manifest.
This commit is contained in:
Rafael dos Santos Silva 2017-02-13 13:28:38 -02:00 committed by GitHub
commit 87a2aa18ee
1 changed files with 1 additions and 1 deletions

View File

@ -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: 'any', orientation: 'natural',
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')}",