display a spinner when signing with a PIN
This commit is contained in:
parent
e6f02c904e
commit
2be4600509
3 changed files with 6 additions and 1 deletions
|
|
@ -57,7 +57,9 @@ angular.module('copayApp.services')
|
|||
set: function(newValue) {
|
||||
this['_' + name] = newValue;
|
||||
scope.error = null;
|
||||
scope.loading = null;
|
||||
if (newValue && newValue.length == 4) {
|
||||
scope.loading = true;
|
||||
$timeout(function() {
|
||||
return cb(newValue);
|
||||
}, 30);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue