When you have multiple accounts and switch to another account on an unreachable server, the files list doesn't change
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### ⚠️ Before posting ⚠️
- [X] This is a **bug**, not a question or an enhancement.
- [X] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Steps to reproduce
Set up accounts on server A and server B.
Switch to server A.
Shut down server B.
Switch to server B.
### Expected behaviour
See files of server B, or an empty list.
### Actual behaviour
An error message "server not available" but the list of files is from server A.
The account selection has "server B" selected, even though the list is still from server A.
### Android version
irrelevant
### Device brand and model
irrelevant
### Stock or custom OS?
Stock
### Nextcloud android app version
latest
### Nextcloud server version
latest
### Using a reverse proxy?
No
### Android logs
_No response_
### Server error logs
_No response_
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.