From 90574d2fc573f162ade7acf8ae38db6e8b7238f0 Mon Sep 17 00:00:00 2001 From: Miguel Alatzar Date: Thu, 17 Oct 2019 07:58:18 -0700 Subject: [PATCH] Rename IOSX_TOP_PORTRAIT (#3412) --- app/components/network_indicator/network_indicator.js | 4 ++-- app/constants/view.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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,