Rename IOSX_TOP_PORTRAIT (#3412)
This commit is contained in:
parent
68cd878311
commit
90574d2fc5
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue