diff --git a/src/CONST.ts b/src/CONST.ts index b6c645457fa2..bc7506dec474 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -231,7 +231,7 @@ const CONST = { IOS: 'https://apps.apple.com/us/app/expensify-cash/id1530278510', DESKTOP: `${ACTIVE_EXPENSIFY_URL}NewExpensify.dmg`, OLD_DOT_ANDROID: 'https://play.google.com/store/apps/details?id=org.me.mobiexpensifyg&hl=en_US&pli=1', - OLD_DOT_IOS: 'https://apps.apple.com/us/app/expensify-expense-tracker/id471713959' + OLD_DOT_IOS: 'https://apps.apple.com/us/app/expensify-expense-tracker/id471713959', }, DATE: { SQL_DATE_TIME: 'YYYY-MM-DD HH:mm:ss', diff --git a/src/libs/actions/AppUpdate/updateApp/index.ios.ts b/src/libs/actions/AppUpdate/updateApp/index.ios.ts index 466e5f961137..930a57881128 100644 --- a/src/libs/actions/AppUpdate/updateApp/index.ios.ts +++ b/src/libs/actions/AppUpdate/updateApp/index.ios.ts @@ -1,6 +1,5 @@ -import {Linking} from 'react-native'; +import {Linking, NativeModules} from 'react-native'; import CONST from '@src/CONST'; -import { NativeModules } from 'react-native'; export default function updateApp() { Linking.openURL(NativeModules.HybridAppModule ? CONST.APP_DOWNLOAD_LINKS.OLD_DOT_IOS : CONST.APP_DOWNLOAD_LINKS.IOS);