set wallet properly when side wallets screen is activated

This commit is contained in:
Gabriel Bazán 2017-04-14 12:40:08 -03:00
parent d521e031a1
commit bafdb6c8d0
1 changed files with 4 additions and 0 deletions

View File

@ -165,6 +165,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.setWallet(0)
$scope.walletPosition(0);
}
}
});