Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

Commit 5de9547

Browse files
committed
remove 'waiting for deposit' message when deposit confirmed message is shown
fix #5300 Auditors: @mrose17 Test plan: 1. enable brave payments, wait up to 15 min for 'waiting for deposit' notification to appear 2. make a deposit and wait for it to be processed. the first notification should disappear when the second appears.
1 parent 8d369b0 commit 5de9547

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/ledger.js

+2
Original file line numberDiff line numberDiff line change
@@ -1530,6 +1530,8 @@ const showNotificationPaymentDone = (transactionContributionFiat) => {
15301530
notificationPaymentDoneMessage = locale.translation('notificationPaymentDone')
15311531
.replace(/{{\s*amount\s*}}/, transactionContributionFiat.amount)
15321532
.replace(/{{\s*currency\s*}}/, transactionContributionFiat.currency)
1533+
// Hide the 'waiting for deposit' message box if it exists
1534+
appActions.hideMessageBox(addFundsMessage)
15331535
appActions.showMessageBox({
15341536
greeting: locale.translation('updateHello'),
15351537
message: notificationPaymentDoneMessage,

0 commit comments

Comments
 (0)