No files here shown in upload dialogue for deleted account
- 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
1. set up two accounts in Nextcloud app (e.g. *alice* and *bob*)
2. open any external app with sharing capability (e.g. android files app)
3. share or upload any file from external app to Nextcloud
- switch accounts to second account using three dot menu in upper right-hand corner
- upload file as normal
4. remove second account from Nextcloud app
5. re-open external app
6. share or upload any file from external app to Nextcloud
### Expected behaviour
As only one account remains registered in Nextcloud app, one would expected that account to be selected automatically when uploading. Thus files owned by said account should be visible.
### Actual behaviour
*No files here* is shown without any means to switch accounts to the remaining one.
### Android version
13
### Device brand and model
OnePlus 6T
### Stock or custom OS?
Custom (explain in "additional information")
### Nextcloud android app version
3.24.1
### Nextcloud server version
26.0.1
### Using a reverse proxy?
No
### Android logs
_No response_
### Server error logs
_No response_
### Additional information
Custom OS: LineageOS 20.0
Might be related to #11207
Contributor guide
Assessment
This issue has not been assessed yet.