element-x-android
1bf2b04d - Explain why the recovery key cannot be generated while offline

Commit
2 days ago
Explain why the recovery key cannot be generated while offline Generating or changing the recovery key requires a round trip to the homeserver. When the device is offline the flow kept spinning for the network timeout and then displayed "Something went wrong", which gives no hint about the cause or what to do next. Classify the failure in the presenter and show a connection specific message for network errors, keeping the generic message for anything else. The exception is still logged so that the SDK error is not lost.
Author
Committer
Parents
Loading