From 8885f6b38291f0edebe2c6cf84b1dbb506c52a5c Mon Sep 17 00:00:00 2001 From: Youssef Lourayad Date: Thu, 2 Feb 2023 20:07:20 +0100 Subject: [PATCH] Fix double spaces in IOU confirmation message --- src/libs/ReportUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/ReportUtils.js b/src/libs/ReportUtils.js index 3328d2a9d1ec..fa4bd33fdf23 100644 --- a/src/libs/ReportUtils.js +++ b/src/libs/ReportUtils.js @@ -842,7 +842,7 @@ function getIOUReportActionMessage(type, total, participants, comment, currency, break; case CONST.IOU.REPORT_ACTION_TYPE.PAY: iouMessage = isSettlingUp - ? `Settled up ${paymentMethodMessage}` + ? `Settled up${paymentMethodMessage}` : `Sent ${amount}${comment && ` for ${comment}`}${paymentMethodMessage}`; break; default: