Closed thunderbiscuit closed 1 year ago
I can't quite reproduce it because of the bug described in #192 which is taking precedence, but I noticed it while investigating that issue. Opening this just to keep track of it.
Try launching the app with both wifi and cellular data turned off
Yeah I'm able to make it crash, but I think it's because of the issue in 192, not because of this one here I don't think (attempting the sync without network access). For example you can try adding the check for network to the initial sync when onCreateView
gets called, but the app will crash with the same error.
Fixed!
I believe this is a regression introduced in #165.
The
sync
button uses this code to sync:But the
onCreateView
calls the sync coroutine directly, without checking for network availability first: