Merge pull request #5884 from gabrielbazan7/bug/set-wallet-properly
set wallet properly when side wallets screen is activated
This commit is contained in:
commit
37533704dc
1 changed files with 4 additions and 0 deletions
|
|
@ -181,6 +181,10 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
|||
return w.id == $scope.wallet.id;
|
||||
});
|
||||
if (w) $scope.updateCurrentWallet();
|
||||
else if (screen.width > 700 && screen.height > 700 && $scope.wallets[0]) {
|
||||
$scope.setWallet(0)
|
||||
$scope.walletPosition(0);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue