Skip to content

Commit bb6e7eb

Browse files
authored
Merge pull request #43280 from Expensify/rodrigo-fix-split-amount-navigation
Fix navigation when changing amount of scan split
2 parents b94ccf3 + 1562346 commit bb6e7eb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/pages/iou/request/step/IOURequestStepAmount.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,12 @@ function IOURequestStepAmount({
280280
// If the value hasn't changed, don't request to save changes on the server and just close the modal
281281
const transactionCurrency = TransactionUtils.getCurrency(currentTransaction);
282282
if (newAmount === TransactionUtils.getAmount(currentTransaction) && currency === transactionCurrency) {
283-
Navigation.dismissModal();
283+
if (isSplitBill) {
284+
Navigation.goBack(backTo);
285+
} else {
286+
Navigation.dismissModal();
287+
}
288+
284289
return;
285290
}
286291

0 commit comments

Comments
 (0)