fix for no wallets

This commit is contained in:
Gabriel Bazán 2017-04-14 12:49:22 -03:00
commit 1ab252535d

View file

@ -165,7 +165,7 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
return w.id == $scope.wallet.id; return w.id == $scope.wallet.id;
}); });
if (w) $scope.updateCurrentWallet(); if (w) $scope.updateCurrentWallet();
else if (screen.width > 700 && screen.height > 700) { else if (screen.width > 700 && screen.height > 700 && $scope.wallets[0]) {
$scope.setWallet(0) $scope.setWallet(0)
$scope.walletPosition(0); $scope.walletPosition(0);
} }