FIX: Remove orientation from the webmanifest

We don't really care about orientation, so let the user OS handle it.
This commit is contained in:
Rafael dos Santos Silva 2018-10-26 13:48:14 -03:00
parent 2450f178ca
commit 84f858fc23

View File

@ -25,7 +25,6 @@ class MetadataController < ApplicationController
name: SiteSetting.title, name: SiteSetting.title,
short_name: SiteSetting.title, short_name: SiteSetting.title,
display: display, display: display,
orientation: 'any',
start_url: Discourse.base_uri.present? ? "#{Discourse.base_uri}/" : '.', start_url: Discourse.base_uri.present? ? "#{Discourse.base_uri}/" : '.',
background_color: "##{ColorScheme.hex_for_name('secondary', view_context.scheme_id)}", background_color: "##{ColorScheme.hex_for_name('secondary', view_context.scheme_id)}",
theme_color: "##{ColorScheme.hex_for_name('header_background', view_context.scheme_id)}", theme_color: "##{ColorScheme.hex_for_name('header_background', view_context.scheme_id)}",