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 = '';