Set Tablet orientation explicitly to all (#5049) (#5054)

(cherry picked from commit 673f10770d)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
Mattermost Build 2020-12-19 00:42:16 +01:00 committed by GitHub
parent 971d5990e8
commit 8b0c831814
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ import Store from '@store/store';
Navigation.setDefaultOptions({
layout: {
orientation: [DeviceTypes.IS_TABLET ? undefined : 'portrait'],
orientation: [DeviceTypes.IS_TABLET ? 'all' : 'portrait'],
},
});