Something went wrong while setting issue due date.
Categories remain after disabling a repo.
- F-Droid version (in the About screen):
0.102
What did you do? (clear steps if possible)
- With the main F-Droid repository enabled, do a repository update.
- Note that there are appropriate categories, each with many apps inside them.
- Now disable the F-Droid repo and return to main screen.
What did you expect to see?
List of categories should only include:
- "What's New"
- "Recently Updated"
- "All"
What did you see instead?
All categories from the main F-Droid repo still remain.
This is because the decision to include a category in the list is based on the presence of an entry in the category-app-join table. If a category is joined to an app (e.g. if there is at least one app which is in that category) then it is a category worthy of showing. Otherwise, it should be ignored.
However, when the RepoProvider
purges apps in response to disabling a repo, then it doesn't remove relevant entries from that join table.