add switch to enable/disable notifications on global setings
This commit is contained in:
parent
f8c5e392f0
commit
b3c59e2cb0
4 changed files with 30 additions and 3 deletions
|
|
@ -1197,6 +1197,11 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.updateAll();
|
||||
});
|
||||
|
||||
$rootScope.$on('Local/EnableNotifications', function(event, vale) {
|
||||
//make suscribe/unsuscribe
|
||||
self.updateAll();
|
||||
});
|
||||
|
||||
$rootScope.$on('Local/FeeLevelUpdated', function(event, level) {
|
||||
self.setCurrentFeeLevel(level);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue