mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-02-24 02:56:01 -05: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