Skip to content

Commit

Permalink
Merge pull request Expensify#54986 from nkdengineer/fix/54725
Browse files Browse the repository at this point in the history
fix: Pay userName emit no sound
  • Loading branch information
arosiclair authored Jan 14, 2025
2 parents 8d66dab + 102a487 commit e9fc8b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/MoneyRequestConfirmationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,9 @@ function MoneyRequestConfirmationList({
return;
}
Log.info(`[IOU] Sending money via: ${paymentMethod}`);
if (shouldPlaySound) {
playSound(SOUNDS.DONE);
}
onSendMoney?.(paymentMethod);
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/pages/iou/request/step/IOURequestStepConfirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ function IOURequestStepConfirmation({
shouldShowSmartScanFields={isMovingTransactionFromTrackExpense ? transaction?.amount !== 0 : requestType !== CONST.IOU.REQUEST_TYPE.SCAN}
action={action}
payeePersonalDetails={payeePersonalDetails}
shouldPlaySound={false}
shouldPlaySound={iouType === CONST.IOU.TYPE.PAY}
isConfirmed={isConfirmed}
/>
</View>
Expand Down

0 comments on commit e9fc8b3

Please sign in to comment.