moved send max button to middle of screen
This commit is contained in:
parent
1b9f2c1e5f
commit
584d85f127
3 changed files with 29 additions and 17 deletions
|
|
@ -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();
|
||||
};
|
||||
|
|
|
|||
|
|
@ -40,3 +40,7 @@
|
|||
@include button-outline($v-button-secondary-color);
|
||||
}
|
||||
}
|
||||
|
||||
.button-sendmax {
|
||||
line-height: inherit;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue