Describe the bug
If a transfer failed, for example, pass invalid fields in transfer, the dialog will keep an incorrect state until tap "reject" button manually.
To Reproduce
Steps to reproduce the behavior:
Invoke transfer method, with incorrect fields, e.g. incorrect trace ID
The dialog popups and prompts an error message.
Close the dialog.
Correct the fields and invoke transfer again.
See same error as above.
Expected behavior
The second time to invoke transfer should be ok because all fields are correct.
The state of pay dialog should be cleared up after closing the dialog.
If the transfer succeed, show a success message and disable the two buttons.
Desktop (please complete the following information):
Describe the bug If a transfer failed, for example, pass invalid fields in
transfer
, the dialog will keep an incorrect state until tap "reject" button manually.To Reproduce
Steps to reproduce the behavior:
transfer
method, with incorrect fields, e.g. incorrect trace IDtransfer
again.Expected behavior The second time to invoke
transfer
should be ok because all fields are correct.The state of pay dialog should be cleared up after closing the dialog.
If the transfer succeed, show a success message and disable the two buttons.
Desktop (please complete the following information):