Bug / Feature Request (not sure which!)
When sending without a network connection, the 'recipient address' page should not go away and the error message should stay until the user acknowledges it.
To Reproduce:
- Be connected to the internet on your mobile
- Click Send
- Obtain the details (scan qr)
- Activate flight mode (ie simulate network loss)
- Press send
- Enter pin
Actual result:
- Small message with low contrast to background is flashed as an alert, which goes away after a couple of seconds - very easy to miss
- Return to 'balance' page
- No record of failed transaction anywhere
Desired result:
- Return to 'Recipient Address' page with previously scanned details
- Show a message with strong colours that it failed, which does not go away until the user makes it go away
- Show a network connectivity indicator when this happens, so the user can know when they should retry the transaction
The reason I request this is because when at a shop, it's easy to get excited / distracted and 'just hit send' then not pay any further attention. The behavior between "tx worked" and "tx didn't work" is far too similar and can very easily lead to confusion.
I know that the 'Send' button cannot be clicked to initiate a qr scan unless the user is connected, but it's not too had to imagine an internet disconnection between the time between pressing that button and actually trying to broadcasting (which is a non-trivial amount of time, especially considering the time to scan a qr and enter a pin)