working!
This commit is contained in:
parent
fe37bcc9e9
commit
9ad326cd30
8 changed files with 20 additions and 22 deletions
|
|
@ -14,6 +14,7 @@ angular.module('copayApp.controllers').controller('OpenController', function($sc
|
|||
};
|
||||
$rootScope.fromSetup = false;
|
||||
$scope.loading = false;
|
||||
$scope.retreiving = true;
|
||||
walletFactory.getWallets(function(wallets) {
|
||||
$scope.wallets = wallets.sort(cmp);
|
||||
|
||||
|
|
@ -23,6 +24,7 @@ angular.module('copayApp.controllers').controller('OpenController', function($sc
|
|||
|
||||
walletFactory.storage.getLastOpened(function(ret) {
|
||||
$scope.selectedWalletId = ret || ($scope.wallets[0] && $scope.wallets[0].id);
|
||||
$scope.retreiving = false;
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue