bch makes sound when sent
This commit is contained in:
parent
df315db96e
commit
f6e1d33d6d
1 changed files with 4 additions and 0 deletions
|
|
@ -607,6 +607,10 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
(processName == 'sendingTx' && !$scope.wallet.canSign() && !$scope.wallet.isPrivKeyExternal())
|
(processName == 'sendingTx' && !$scope.wallet.canSign() && !$scope.wallet.isPrivKeyExternal())
|
||||||
) && !isOn) {
|
) && !isOn) {
|
||||||
$scope.sendStatus = 'success';
|
$scope.sendStatus = 'success';
|
||||||
|
if ($scope.wallet.coin == 'bch') {
|
||||||
|
var audio = new Audio('misc/bch_sent.mp3');
|
||||||
|
audio.play();
|
||||||
|
}
|
||||||
firebaseEventsService.logEvent('sent_bitcoin', { coin: $scope.wallet.coin });
|
firebaseEventsService.logEvent('sent_bitcoin', { coin: $scope.wallet.coin });
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$scope.$digest();
|
$scope.$digest();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue