Skip to content

Commit b7573ca

Browse files
authored
Merge pull request #91997 from Expensify/cherry-pick-staging-91932-26587539527-1
🍒 Cherry pick PR #91932 to staging 🍒
2 parents 4f5e47c + f41dbd0 commit b7573ca

29 files changed

Lines changed: 322 additions & 88 deletions

Mobile-Expensify

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ android {
111111
minSdkVersion rootProject.ext.minSdkVersion
112112
targetSdkVersion rootProject.ext.targetSdkVersion
113113
multiDexEnabled rootProject.ext.multiDexEnabled
114-
versionCode 1009038801
115-
versionName "9.3.88-1"
114+
versionCode 1009038802
115+
versionName "9.3.88-2"
116116
// Supported language variants must be declared here to avoid from being removed during the compilation.
117117
// This also helps us to not include unnecessary language variants in the APK.
118118
resConfigs "en", "es"

ios/NewExpensify/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</dict>
4545
</array>
4646
<key>CFBundleVersion</key>
47-
<string>9.3.88.1</string>
47+
<string>9.3.88.2</string>
4848
<key>FullStory</key>
4949
<dict>
5050
<key>OrgId</key>

ios/NotificationServiceExtension/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<key>CFBundleShortVersionString</key>
1414
<string>9.3.88</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.3.88.1</string>
16+
<string>9.3.88.2</string>
1717
<key>NSExtension</key>
1818
<dict>
1919
<key>NSExtensionPointIdentifier</key>

ios/ShareViewController/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<key>CFBundleShortVersionString</key>
1414
<string>9.3.88</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.3.88.1</string>
16+
<string>9.3.88.2</string>
1717
<key>NSExtension</key>
1818
<dict>
1919
<key>NSExtensionAttributes</key>

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "new.expensify",
3-
"version": "9.3.88-1",
3+
"version": "9.3.88-2",
44
"author": "Expensify, Inc.",
55
"homepage": "https://new.expensify.com",
66
"description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",

src/components/MoneyReportHeaderActions/MoneyReportHeaderSecondaryActions.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import type {PaymentActionParams} from '@components/SettlementButton/types';
1919
import useActiveAdminPolicies from '@hooks/useActiveAdminPolicies';
2020
import {useCurrencyListActions} from '@hooks/useCurrencyList';
2121
import useCurrentUserPersonalDetails from '@hooks/useCurrentUserPersonalDetails';
22+
import useEnvironment from '@hooks/useEnvironment';
2223
import useExpenseActions from '@hooks/useExpenseActions';
2324
import useExportActions from '@hooks/useExportActions';
2425
import useHoldRejectActions from '@hooks/useHoldRejectActions';
@@ -316,6 +317,8 @@ function MoneyReportHeaderSecondaryActionsInner({reportID, primaryAction, isRepo
316317
onPDFModalOpen: openPDFDownload,
317318
});
318319

320+
const {isProduction} = useEnvironment();
321+
319322
// Compute list of applicable secondary action keys
320323
const secondaryActions = moneyRequestReport
321324
? getSecondaryReportActions({
@@ -334,6 +337,7 @@ function MoneyReportHeaderSecondaryActionsInner({reportID, primaryAction, isRepo
334337
policies,
335338
outstandingReportsByPolicyID,
336339
isChatReportArchived,
340+
isProduction,
337341
})
338342
: [];
339343

src/components/MoneyReportHeaderActions/MoneyReportHeaderSelectionDropdown.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import useActiveAdminPolicies from '@hooks/useActiveAdminPolicies';
2222
import useConfirmModal from '@hooks/useConfirmModal';
2323
import {useCurrencyListActions} from '@hooks/useCurrencyList';
2424
import useCurrentUserPersonalDetails from '@hooks/useCurrentUserPersonalDetails';
25+
import useEnvironment from '@hooks/useEnvironment';
2526
import useExportActions from '@hooks/useExportActions';
2627
import useLastWorkspaceNumber from '@hooks/useLastWorkspaceNumber';
2728
import {useMemoizedLazyExpensifyIcons} from '@hooks/useLazyAsset';
@@ -192,6 +193,8 @@ function MoneyReportHeaderSelectionDropdown({reportID, primaryAction, isReportIn
192193
isOnSearch: !!isReportInSearch,
193194
});
194195

196+
const {isProduction} = useEnvironment();
197+
195198
const computedSecondaryActions = moneyRequestReport
196199
? getSecondaryReportActions({
197200
currentUserLogin: currentUserLogin ?? '',
@@ -209,6 +212,7 @@ function MoneyReportHeaderSelectionDropdown({reportID, primaryAction, isReportIn
209212
policies: allPolicies,
210213
outstandingReportsByPolicyID,
211214
isChatReportArchived,
215+
isProduction,
212216
})
213217
: [];
214218

src/components/MoneyRequestHeaderSecondaryActions.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import useCurrentUserPersonalDetails from '@hooks/useCurrentUserPersonalDetails'
1212
import useDefaultExpensePolicy from '@hooks/useDefaultExpensePolicy';
1313
import useDeleteTransactions from '@hooks/useDeleteTransactions';
1414
import useDuplicateTransactionsAndViolations from '@hooks/useDuplicateTransactionsAndViolations';
15+
import useEnvironment from '@hooks/useEnvironment';
1516
import useGetIOUReportFromReportAction from '@hooks/useGetIOUReportFromReportAction';
1617
import useHasMultipleSplitChildren from '@hooks/useHasMultipleSplitChildren';
1718
import {useMemoizedLazyExpensifyIcons} from '@hooks/useLazyAsset';
@@ -272,6 +273,8 @@ function MoneyRequestHeaderSecondaryActions({reportID, onBackButtonPress}: Money
272273
setRejectModalAction(null);
273274
};
274275

276+
const {isProduction} = useEnvironment();
277+
275278
// Secondary actions
276279
const secondaryActions = (() => {
277280
if (!transaction || !parentReportAction || !parentReport) {
@@ -289,6 +292,7 @@ function MoneyRequestHeaderSecondaryActions({reportID, onBackButtonPress}: Money
289292
outstandingReportsByPolicyID,
290293
isChatReportArchived: isChatIOUReportArchived,
291294
grandParentReport,
295+
isProduction,
292296
});
293297
})();
294298

@@ -341,7 +345,7 @@ function MoneyRequestHeaderSecondaryActions({reportID, onBackButtonPress}: Money
341345
icon: expensifyIcons.ArrowSplit,
342346
value: CONST.REPORT.TRANSACTION_SECONDARY_ACTIONS.SPLIT,
343347
onSelected: () => {
344-
initSplitExpense(transaction, policy, report);
348+
initSplitExpense(transaction, policy, report, accountID, {isProduction});
345349
},
346350
},
347351
[CONST.REPORT.TRANSACTION_SECONDARY_ACTIONS.MERGE]: {

0 commit comments

Comments
 (0)