
This remove the magic number "1" from the network state check, and makes explicit that it is checking the active network connection. This is then used to check whether it is appropriate to update the index when FDroid first starts.
This remove the magic number "1" from the network state check, and makes explicit that it is checking the active network connection. This is then used to check whether it is appropriate to update the index when FDroid first starts.