element-hq / element-hq/element-x-android
Ocassionally `Clear cache` will navigate to the `Add account` screen instead of room list
- Dominant language
- Kotlin
- Stars
- 2.4k
- Forks
- 624
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 149
Description
### Steps to reproduce
Go to developer options, scroll to the bottom and click `Clear cache`
### Outcome
#### What did you expect?
The app to navigate to the room list
#### What happened instead?
The app navigates to the `Add account` screen. Upon restart of EXA, the initial sync is kinda broken so another cache clear is required to get the room list into the correct state.
This video shows firstly the broken behaviour, then the expected behaviour afterwards
https://github.com/user-attachments/assets/6f566878-8a2f-4ace-bcb7-1a9382b1829f
### Your phone model
Pixel 8 Pro
### Operating system version
Pixel something something
### Application version and app store
Any version from the last ~6 months or so
### Homeserver
_No response_
### Will you send logs?
Yes
### Are you willing to provide a PR?
No
Contributor guide
Assessment
This issue has not been assessed yet.