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:
Kill your network connection with your app open (check that on the menu, the status is disconnected)
Go to contacts
tap to add contact and fill the form (it's the same if you add from QR)
When you tap on add contact it says that it is already added.
If you recover connection it still won't work as the app status is still disconnected
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
Smartphone (please complete the following information):
Device: Moto Z2 Force
OS: Android
Version 8
App version: 0.1.12
Additional context
Add any other context about the problem here.
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:
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
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.