diff --git a/app/components/network_indicator/network_indicator.js b/app/components/network_indicator/network_indicator.js index 5dd93cef8..fafe89440 100644 --- a/app/components/network_indicator/network_indicator.js +++ b/app/components/network_indicator/network_indicator.js @@ -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; } diff --git a/app/constants/view.js b/app/constants/view.js index 60823c46f..33120e90d 100644 --- a/app/constants/view.js +++ b/app/constants/view.js @@ -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,