Merge pull request #4407 from cmgustavo/bug/check-notif-refresh
Refresh UI after check if notification is enabled
This commit is contained in:
commit
ac5bff50f5
1 changed files with 1 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ angular.module('copayApp.controllers').controller('preferencesGlobalController',
|
||||||
if ($scope.isIOSApp) {
|
if ($scope.isIOSApp) {
|
||||||
cordova.plugins.diagnostic.isRemoteNotificationsEnabled(function(isEnabled) {
|
cordova.plugins.diagnostic.isRemoteNotificationsEnabled(function(isEnabled) {
|
||||||
$scope.PNEnabledByUser = isEnabled;
|
$scope.PNEnabledByUser = isEnabled;
|
||||||
|
$scope.$digest();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
$scope.spendUnconfirmed = config.wallet.spendUnconfirmed;
|
$scope.spendUnconfirmed = config.wallet.spendUnconfirmed;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue