Merge pull request #5884 from gabrielbazan7/bug/set-wallet-properly

set wallet properly when side wallets screen is activated
This commit is contained in:
Javier Donadío 2017-04-17 14:16:10 -03:00 committed by GitHub
commit 37533704dc
1 changed files with 4 additions and 0 deletions

View File

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