casinocoin / tokenwallet-mobile

CasinoCoin Token Wallet for Mobile
0 stars 0 forks source link

[BUG] Unable to add contact when disconnected #136

Closed t3nshi closed 4 years ago

t3nshi commented 4 years ago

Describe the bug If I lose connection, trying to add a contact doesn't work and it provides a misleading error message.

To Reproduce Steps to reproduce the behavior:

  1. Kill your network connection with your app open (check that on the menu, the status is disconnected)
  2. Go to contacts
  3. tap to add contact and fill the form (it's the same if you add from QR)
  4. When you tap on add contact it says that it is already added.
  5. If you recover connection it still won't work as the app status is still disconnected
  6. If upon recovering connection you kill the app and started again, the contacts can be added again.

Expected behavior I should be able to add a contact while offline. And if I am not, I should see an error that explains that instead of something totally unrelated.

Screenshots

Screenshot 2020-02-03 at 12 42 26

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.