mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:17:08 +08:00
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:
parent
2450f178ca
commit
84f858fc23
|
@ -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)}",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user