I accidentally clicked outside the wallet after generating an eCash token and noticed that the whole send screen resets when the wallet is opened again.
I tested it with a 10 sat token. The generated token disappeared from the UI after closing and reopening the wallet.
| Token generated |
After clicking outside and reopening wallet |
 |
 |
I had copied the token first, so I was able to import it again and recover sats. Otherwise, I would not have had a way to access it again.
The reset also clears the entered amount and any other in-progress send state. Since clicking anywhere outside the popover closes it, this is easy to trigger accidentally.
Steps to reproduce
- Open the wallet
- Go to Send > eCash Token
- Enter an amount and click
Generate Token
- Click outside the wallet before copying the token
- Open the wallet again and return to Send > eCash Token
Expected behavior
Closing and reopening the wallet should preserve the current send flow, including entered values and any generated or in-progress payment details.
A generated eCash token should remain recoverable until the user explicitly discards it or confirms that it has been copied.
I accidentally clicked outside the wallet after generating an eCash token and noticed that the whole send screen resets when the wallet is opened again.
I tested it with a 10 sat token. The generated token disappeared from the UI after closing and reopening the wallet.
I had copied the token first, so I was able to import it again and recover sats. Otherwise, I would not have had a way to access it again.
The reset also clears the entered amount and any other in-progress send state. Since clicking anywhere outside the popover closes it, this is easy to trigger accidentally.
Steps to reproduce
Generate TokenExpected behavior
Closing and reopening the wallet should preserve the current send flow, including entered values and any generated or in-progress payment details.
A generated eCash token should remain recoverable until the user explicitly discards it or confirms that it has been copied.