Alert when incoming transaction (not proposal)
This commit is contained in:
parent
70cae4135f
commit
edb3e75800
3 changed files with 13 additions and 0 deletions
|
|
@ -29,6 +29,12 @@ angular.module('copay.header').controller('HeaderController',
|
|||
}
|
||||
});
|
||||
|
||||
$rootScope.$watch('receivedFund', function(receivedFund) {
|
||||
if (receivedFund) {
|
||||
$notification.funds('Received fund', 'on ' + receivedFund[1], receivedFund);
|
||||
}
|
||||
});
|
||||
|
||||
$scope.isActive = function(item) {
|
||||
if (item.link && item.link.replace('#','') == $location.path()) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue