The Enter Amount screen now correctly sets the amount when sendMax() is called when available funds exceed the max limit.

This commit is contained in:
Brendon Duncan 2018-09-04 12:52:54 +12:00
commit 4315d16f73
4 changed files with 37 additions and 12 deletions

View file

@ -12,7 +12,7 @@ angular
// A separate state variable so we can ensure it is cleared of everything,
// even other properties added that this service does not know about. (such as "coin")
state: {
amount: '',
amount: 0,
displayAddress: null,
fromWalletId: '',
sendMax: false,
@ -42,7 +42,7 @@ angular
function clearCurrent() {
console.log("sendFlow clearCurrent()");
service.state = {
amount: '',
amount: 0,
displayAddress: null,
fromWalletId: '',
sendMax: false,