moved send max button to middle of screen

This commit is contained in:
Kadir Sekha 2017-12-28 15:08:58 +00:00
commit 584d85f127
3 changed files with 29 additions and 17 deletions

View file

@ -128,7 +128,6 @@ angular.module('copayApp.controllers').controller('amountController', function($
$scope.toName = data.stateParams.toName;
$scope.toEmail = data.stateParams.toEmail;
$scope.toColor = data.stateParams.toColor;
$scope.showSendMax = false;
if (!$scope.nextStep && !data.stateParams.toAddress) {
$log.error('Bad params at amount')
@ -208,12 +207,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
if (value && evaluate(value) > 0) paste(evaluate(value));
};
$scope.showSendMaxMenu = function() {
$scope.showSendMax = true;
};
$scope.sendMax = function() {
$scope.showSendMax = false;
$scope.useSendMax = true;
$scope.finish();
};

View file

@ -40,3 +40,7 @@
@include button-outline($v-button-secondary-color);
}
}
.button-sendmax {
line-height: inherit;
}