Unable to manage mirrors on repository detail view if there are exactly 2
- Device OS and version: irrelevant
- Device model/manufacturer: irrelevant
- F-Droid version (in the About screen): 1.23.0
- F-Droid privileged extension version (if installed): -
There seems to be currently a bug in https://gitlab.com/fdroid/fdroidclient/-/blob/03cf74eca39dbf306174535dcbd45f63cdfae2a2/app/src/main/java/org/fdroid/fdroid/views/repos/RepoDetailsScreen.kt#L142
The comment says:
If there are 2 or more official mirrors, it makes sense to allow users to disable the canonical address.
However the next if statement is officialMirrors.size > 2
which should be >=
I provided a simple fix in !1575 (merged)
Edited by litetex