Wallet buttons max width + Receive in viewing wallet.

This commit is contained in:
Sebastiaan Pasma 2018-07-26 15:04:42 +02:00
commit d87c2e65f7
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
6 changed files with 24 additions and 9 deletions

View file

@ -483,4 +483,15 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
function rgbToHex(r, g, b) {
return "#" + componentToHex(r) + componentToHex(g) + componentToHex(b);
}
$scope.goToReceive = function() {
$state.go('tabs.home', {
walletId: $scope.wallet.id
}).then(function () {
$ionicHistory.clearHistory();
$state.go('tabs.receive', {
walletId: $scope.wallet.id
});
});
};
});