From dd1436503c987e5993034459c2efc8c38c40ee06 Mon Sep 17 00:00:00 2001 From: Mattermost Build Date: Thu, 17 Oct 2019 17:01:56 +0200 Subject: [PATCH] Rename IOSX_TOP_PORTRAIT (#3441) --- 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 730d69923..e661dfe01 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,