Play sound when receive fund
This commit is contained in:
parent
9428ea55d5
commit
3bae14bd5d
2 changed files with 2 additions and 0 deletions
|
|
@ -41,6 +41,8 @@ angular.module('copay.header').controller('HeaderController',
|
||||||
}
|
}
|
||||||
if (currentAddr) {
|
if (currentAddr) {
|
||||||
$notification.funds('Received fund', currentAddr, receivedFund);
|
$notification.funds('Received fund', currentAddr, receivedFund);
|
||||||
|
var beep = new Audio('sound/transaction.mp3');
|
||||||
|
beep.play();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
BIN
sound/transaction.mp3
Normal file
BIN
sound/transaction.mp3
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue