mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-21 15:29:18 -04:00
This also needs to handle mirror lists with 1 element, since mirrors can now be disabled. If the user disables all mirrors, then there will be only one URL in the list of mirrors. Asking for a random mirror in that case should not return null, but the one enabled mirror. closes #1696