From c09675043b8d2e0f49b1aac7ead868fbc694a8b3 Mon Sep 17 00:00:00 2001 From: feruz Date: Fri, 10 Jan 2020 11:35:10 +0200 Subject: [PATCH] boost screen key issue fix --- .../basicUIElements/view/placeHolder/boostPlaceHolderView.js | 2 +- src/screens/boost/screen/boostScreen.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/basicUIElements/view/placeHolder/boostPlaceHolderView.js b/src/components/basicUIElements/view/placeHolder/boostPlaceHolderView.js index ff90a6442..d2c58295c 100644 --- a/src/components/basicUIElements/view/placeHolder/boostPlaceHolderView.js +++ b/src/components/basicUIElements/view/placeHolder/boostPlaceHolderView.js @@ -20,7 +20,7 @@ const BoostPlaceHolder = () => { {({ isDarkTheme }) => { const color = isDarkTheme ? '#2e3d51' : '#f5f5f5'; return ( - + diff --git a/src/screens/boost/screen/boostScreen.js b/src/screens/boost/screen/boostScreen.js index 0b777a728..cbd4f2d7f 100644 --- a/src/screens/boost/screen/boostScreen.js +++ b/src/screens/boost/screen/boostScreen.js @@ -19,8 +19,9 @@ const ITEM_SKUS = Platform.select({ const _getTitle = title => { let _title = title.toUpperCase(); - - _title = _title.replace(/[^0-9]+/g, '') + ' ESTM'; + if (_title !== 'FREE ESTM') { + _title = _title.replace(/[^0-9]+/g, '') + ' ESTM'; + } return _title; };