From ace5f4efcfdc9beabfc62e9a985c7faa629432b0 Mon Sep 17 00:00:00 2001 From: ShridharGoel <35566748+ShridharGoel@users.noreply.github.com> Date: Thu, 2 May 2024 19:47:03 +0530 Subject: [PATCH] Update --- src/CONST.ts | 2 ++ src/libs/getDownloadFolderPathSuffixForIOS.ts | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/CONST.ts b/src/CONST.ts index ef4f55aca8be..66a19909d423 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -1302,6 +1302,8 @@ const CONST = { STAGING: 'staging', PRODUCTION: 'production', ADHOC: 'adhoc', + DEV_SUFFIX: ' Dev', + ADHOC_SUFFIX: ' AdHoc', }, // Used to delay the initial fetching of reportActions when the app first inits or reconnects (e.g. returning diff --git a/src/libs/getDownloadFolderPathSuffixForIOS.ts b/src/libs/getDownloadFolderPathSuffixForIOS.ts index aee6bca249b0..b3ceee078513 100644 --- a/src/libs/getDownloadFolderPathSuffixForIOS.ts +++ b/src/libs/getDownloadFolderPathSuffixForIOS.ts @@ -8,10 +8,10 @@ function getDownloadFolderPathSuffixForIOS(environment: string) { folderSuffix = ''; break; case CONST.ENVIRONMENT.ADHOC: - folderSuffix = ' AdHoc'; + folderSuffix = CONST.ENVIRONMENT.ADHOC_SUFFIX; break; case CONST.ENVIRONMENT.DEV: - folderSuffix = ' Dev'; + folderSuffix = CONST.ENVIRONMENT.DEV_SUFFIX; break; default: folderSuffix = '';