Merge pull request #3000 from troggy/addon/ongoing-process
Addons can use OngoingProcess indicator
This commit is contained in:
commit
26d749782a
1 changed files with 5 additions and 0 deletions
|
|
@ -69,6 +69,10 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
};
|
||||
});
|
||||
|
||||
var disableOngoingProcessListener = $rootScope.$on('Addon/OngoingProcess', function(e, name) {
|
||||
self.setOngoingProcess(name);
|
||||
});
|
||||
|
||||
$scope.$on('$destroy', function() {
|
||||
disableAddrListener();
|
||||
disableScannerListener();
|
||||
|
|
@ -76,6 +80,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
disableTabListener();
|
||||
disableFocusListener();
|
||||
disableResumeListener();
|
||||
disableOngoingProcessListener();
|
||||
$rootScope.hideMenuBar = false;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue