mirror of https://github.com/BTCPrivate/copay.git
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
|
@ -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…
Reference in New Issue