Brackets missing
This commit is contained in:
parent
f89499047a
commit
da0ffde179
2 changed files with 5 additions and 2 deletions
|
|
@ -625,8 +625,10 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
|||
) && !isOn) {
|
||||
$scope.sendStatus = 'success';
|
||||
|
||||
if ($state.current.name === "tabs.send.confirm") // XX SP: Otherwise all open wallets on other devices play this sound if you have been in a send flow before on that device.
|
||||
if ($state.current.name === "tabs.send.confirm") { // XX SP: Otherwise all open wallets on other devices play this sound if you have been in a send flow before on that device.
|
||||
soundService.play('misc/payment_sent.mp3');
|
||||
}
|
||||
|
||||
firebaseEventsService.logEvent('sent_bitcoin', { coin: $scope.wallet.coin });
|
||||
$timeout(function() {
|
||||
$scope.$digest();
|
||||
|
|
|
|||
|
|
@ -131,8 +131,9 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
|||
}
|
||||
$scope.paymentReceivedCoin = $scope.wallet.coin;
|
||||
|
||||
if ($state.current.name === "tabs.receive")
|
||||
if ($state.current.name === "tabs.receive") {
|
||||
soundService.play('misc/payment_received.mp3');
|
||||
}
|
||||
|
||||
$scope.$apply(function () {
|
||||
$scope.showingPaymentReceived = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue