This commit is contained in:
Matias Alejo Garcia 2014-09-04 16:23:37 -03:00
commit 9ad326cd30
8 changed files with 20 additions and 22 deletions

View file

@ -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;
});
});