better paypro diplay
This commit is contained in:
parent
96dba0de7c
commit
7bda16494e
3 changed files with 30 additions and 6 deletions
|
|
@ -982,6 +982,19 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
msg = gettext('Could not fetch payment information');
|
||||
}
|
||||
self.error = msg;
|
||||
$timeout(function() {
|
||||
$rootScope.$digest();
|
||||
}, 1);
|
||||
return cb(true);
|
||||
}
|
||||
|
||||
if (!paypro.verified) {
|
||||
self.resetForm();
|
||||
$log.warn('Failed to verified payment protocol signatured');
|
||||
self.error = gettext('Payment Protocol Invalid');
|
||||
$timeout(function() {
|
||||
$rootScope.$digest();
|
||||
}, 1);
|
||||
return cb(true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue