Merge pull request #4407 from cmgustavo/bug/check-notif-refresh

Refresh UI after check if notification is enabled
This commit is contained in:
Gabriel Edgardo Bazán 2016-06-15 11:53:15 -03:00 committed by GitHub
commit ac5bff50f5

View file

@ -21,6 +21,7 @@ angular.module('copayApp.controllers').controller('preferencesGlobalController',
if ($scope.isIOSApp) {
cordova.plugins.diagnostic.isRemoteNotificationsEnabled(function(isEnabled) {
$scope.PNEnabledByUser = isEnabled;
$scope.$digest();
});
}
$scope.spendUnconfirmed = config.wallet.spendUnconfirmed;