From 8b0c83181493729afc4cd240e5feb451e5caa857 Mon Sep 17 00:00:00 2001 From: Mattermost Build Date: Sat, 19 Dec 2020 00:42:16 +0100 Subject: [PATCH] Set Tablet orientation explicitly to all (#5049) (#5054) (cherry picked from commit 673f10770d9bab99f6e74e488d185a20c19efbf7) Co-authored-by: Elias Nahum --- app/actions/navigation/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/actions/navigation/index.js b/app/actions/navigation/index.js index ec96ca1ea..1592ef6ca 100644 --- a/app/actions/navigation/index.js +++ b/app/actions/navigation/index.js @@ -15,7 +15,7 @@ import Store from '@store/store'; Navigation.setDefaultOptions({ layout: { - orientation: [DeviceTypes.IS_TABLET ? undefined : 'portrait'], + orientation: [DeviceTypes.IS_TABLET ? 'all' : 'portrait'], }, });