Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix(wallet): correct system notification for received transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfelton committed Apr 12, 2020
1 parent 7c35b2a commit 70430ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer/reducers/transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export const receiveTransactionData = transaction => (dispatch, getState) => {
dispatch(fetchChannels())
const intl = getIntl()
// HTML 5 desktop notification for the new transaction
if (transaction.isReceived) {
if (CoinBig(transaction.amount).gt(0)) {
showSystemNotification(intl.formatMessage(messages.transaction_received_title), {
body: intl.formatMessage(messages.transaction_received_body),
})
Expand Down

0 comments on commit 70430ef

Please sign in to comment.