Rename IOSX_TOP_PORTRAIT (#3412)

This commit is contained in:
Miguel Alatzar 2019-10-17 07:58:18 -07:00 committed by GitHub
parent 68cd878311
commit 90574d2fc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@ const {
ANDROID_TOP_PORTRAIT,
IOS_TOP_LANDSCAPE,
IOS_TOP_PORTRAIT,
IOSX_TOP_PORTRAIT,
IOS_INSETS_TOP_PORTRAIT,
} = ViewTypes;
export default class NetworkIndicator extends PureComponent {
@ -206,7 +206,7 @@ export default class NetworkIndicator extends PureComponent {
if (iPhoneWithInsets && isLandscape) {
return IOS_TOP_LANDSCAPE;
} else if (iPhoneWithInsets) {
return IOSX_TOP_PORTRAIT;
return IOS_INSETS_TOP_PORTRAIT;
} else if (isLandscape && !DeviceTypes.IS_TABLET) {
return IOS_TOP_LANDSCAPE;
}

View file

@ -109,7 +109,7 @@ export default {
ANDROID_TOP_PORTRAIT: 56,
IOS_TOP_LANDSCAPE: 40,
IOS_TOP_PORTRAIT: 64,
IOSX_TOP_PORTRAIT: 88,
IOS_INSETS_TOP_PORTRAIT: 88,
STATUS_BAR_HEIGHT: 20,
PROFILE_PICTURE_SIZE: 32,
PROFILE_PICTURE_EMOJI_SIZE: 28,