Skip to content

Commit

Permalink
Update constants
Browse files Browse the repository at this point in the history
  • Loading branch information
ShridharGoel committed May 2, 2024
1 parent ace5f4e commit a04a574
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1302,8 +1302,6 @@ 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
Expand Down Expand Up @@ -4700,6 +4698,11 @@ const CONST = {
DOWNLOADS_PATH: '/Downloads',
NEW_EXPENSIFY_PATH: '/New Expensify',

ENVIRONMENT_SUFFIX: {
DEV: ' Dev',
ADHOC: ' AdHoc',
},

SEARCH_TRANSACTION_TYPE: {
CASH: 'cash',
CARD: 'card',
Expand Down
4 changes: 2 additions & 2 deletions src/libs/getDownloadFolderPathSuffixForIOS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ function getDownloadFolderPathSuffixForIOS(environment: string) {
folderSuffix = '';
break;
case CONST.ENVIRONMENT.ADHOC:
folderSuffix = CONST.ENVIRONMENT.ADHOC_SUFFIX;
folderSuffix = CONST.ENVIRONMENT_SUFFIX.ADHOC;
break;
case CONST.ENVIRONMENT.DEV:
folderSuffix = CONST.ENVIRONMENT.DEV_SUFFIX;
folderSuffix = CONST.ENVIRONMENT_SUFFIX.DEV;
break;
default:
folderSuffix = '';
Expand Down

0 comments on commit a04a574

Please sign in to comment.