Save last opened wallet
This commit is contained in:
parent
698bd3f616
commit
9b1708b88e
6 changed files with 62 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ angular.module('copayApp.controllers').controller('OpenController',
|
|||
};
|
||||
$scope.loading = false;
|
||||
$scope.wallets = walletFactory.getWallets().sort(cmp);
|
||||
$scope.selectedWalletId = $scope.wallets.length ? $scope.wallets[0].id : null;
|
||||
$scope.selectedWalletId = walletFactory.storage.getLastOpened() || ($scope.wallets[0] && $scope.wallets[0].id);
|
||||
$scope.openPassword = '';
|
||||
|
||||
$scope.open = function(form) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue