diff --git a/src/js/controllers/index.js b/src/js/controllers/index.js index af458e8a0..ff0ef3469 100644 --- a/src/js/controllers/index.js +++ b/src/js/controllers/index.js @@ -1287,8 +1287,12 @@ angular.module('copayApp.controllers').controller('indexController', function($r $rootScope.$on('Local/SubscribeNotifications', function(event) { if (!self.usePushNotifications) return; - - pushNotificationsService.enableNotifications(); + self.updateRemotePreferences({ + saveAll: true + }, function() { + $log.debug('Remote preferences saved'); + pushNotificationsService.enableNotifications(); + }); });