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:
parent
4dc3e7c2e8
commit
4315d16f73
4 changed files with 37 additions and 12 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue