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

(cherry picked from commit 673f10770d)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
Mattermost Build 2020-12-19 00:41:47 +01:00 committed by GitHub
parent a31f2acd78
commit 725225d77e
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'],
},
});