pachli-android/core/accounts
Nik Clayton 0445e187df
fix: Ensure logging out accounts completes (#515)
The account logout process could fail due to API exceptions; network
errors for example, or if the user had already revoked the app's token
for that account. This would prevent the rest of the logout process
(cleaning database, etc) from completing.

Fix this by ignoring network errors during the logout process, and
always cleaning up account content in the database.

Fix a related issue where a deleted account might be recreated in a
partial state if the account's visible position was saved after it was
deleted. The recreated account couldn't do anything as it had no tokens,
but is very confusing.
2024-03-10 12:25:12 +01:00
..
src/main/kotlin fix: Ensure logging out accounts completes (#515) 2024-03-10 12:25:12 +01:00
build.gradle.kts refactor: Remove unnecesary parcelize plugin import (#407) 2024-02-02 15:12:55 +01:00
lint-baseline.xml refactor: Start creating core modules (#286) 2023-12-04 16:58:36 +01:00