MarquisLP / World-Scribe

An Android app for fictional world-building
MIT License
41 stars 7 forks source link

App crashes when the user cancels Dropbox authentication #60

Closed MarquisLP closed 3 years ago

MarquisLP commented 3 years ago

Environment

Steps to Reproduce

Expected Result: the app returns to the ArticleListActivity.

Actual Result: the app crashes and the user is brought to the device's home screen without any error message.

Notes

The fix is probably to add a null check in ArticleListActivity.storeDropboxCredentials(), as Dropbox.Auth.getDbxCredential() will return a null credentials object if the user did not authenticate.