Refresh UI after check if notification is enabled

This commit is contained in:
Gustavo Maximiliano Cortez 2016-06-15 11:42:01 -03:00
commit 40daf0336a
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

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;