From 84f858fc23c19484c588b6d305b27cf805c2c342 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Fri, 26 Oct 2018 13:48:14 -0300 Subject: [PATCH] FIX: Remove orientation from the webmanifest We don't really care about orientation, so let the user OS handle it. --- app/controllers/metadata_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/metadata_controller.rb b/app/controllers/metadata_controller.rb index 78d84c9b732..6e157cc5961 100644 --- a/app/controllers/metadata_controller.rb +++ b/app/controllers/metadata_controller.rb @@ -25,7 +25,6 @@ class MetadataController < ApplicationController name: SiteSetting.title, short_name: SiteSetting.title, display: display, - orientation: 'any', start_url: Discourse.base_uri.present? ? "#{Discourse.base_uri}/" : '.', background_color: "##{ColorScheme.hex_for_name('secondary', view_context.scheme_id)}", theme_color: "##{ColorScheme.hex_for_name('header_background', view_context.scheme_id)}",