cannot double click create wallet on startup
This commit is contained in:
parent
e1667d0780
commit
c526ea18f8
1 changed files with 4 additions and 0 deletions
|
|
@ -38,7 +38,11 @@ angular.module('copayApp.controllers').controller('tourController',
|
|||
});
|
||||
|
||||
var retryCount = 0;
|
||||
var creatingWallet = false;
|
||||
$scope.createDefaultWallet = function() {
|
||||
if (creatingWallet) return;
|
||||
|
||||
creatingWallet = true;
|
||||
ongoingProcess.set('creatingWallet', true);
|
||||
$timeout(function() {
|
||||
profileService.createDefaultWallet(function(err, walletClients) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue