mirror of https://github.com/BTCPrivate/copay.git
@colkito's suggestion
This commit is contained in:
parent
0b75244579
commit
08340bca0c
|
@ -21,6 +21,8 @@ angular.module('copay.header').controller('HeaderController',
|
|||
'link': '#/backup'
|
||||
}];
|
||||
|
||||
var beep = new Audio('sound/transaction.mp3');
|
||||
|
||||
// Initialize alert notification (not show when init wallet)
|
||||
$rootScope.txAlertCount = 0;
|
||||
$rootScope.$watch('txAlertCount', function(txAlertCount) {
|
||||
|
@ -41,7 +43,6 @@ angular.module('copay.header').controller('HeaderController',
|
|||
}
|
||||
if (currentAddr) {
|
||||
$notification.funds('Received fund', currentAddr, receivedFund);
|
||||
var beep = new Audio('sound/transaction.mp3');
|
||||
beep.play();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue