set wallet properly when side wallets screen is activated
This commit is contained in:
parent
d521e031a1
commit
bafdb6c8d0
1 changed files with 4 additions and 0 deletions
|
|
@ -165,6 +165,10 @@ 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) {
|
||||||
|
$scope.setWallet(0)
|
||||||
|
$scope.walletPosition(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue