mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-29 01:49:21 +01:00
Merge pull request #3319 from gaul/compare-to-ignore-case
Sort automatic download wifi names ignoring case
This commit is contained in:
commit
fd625650e6
@ -88,7 +88,7 @@ public class AutoDownloadPreferencesFragment extends PreferenceFragmentCompat {
|
||||
return;
|
||||
}
|
||||
Collections.sort(networks, (x, y) ->
|
||||
blankIfNull(x.SSID).compareTo(blankIfNull(y.SSID)));
|
||||
blankIfNull(x.SSID).compareToIgnoreCase(blankIfNull(y.SSID)));
|
||||
selectedNetworks = new CheckBoxPreference[networks.size()];
|
||||
List<String> prefValues = Arrays.asList(UserPreferences
|
||||
.getAutodownloadSelectedNetworks());
|
||||
|
Loading…
x
Reference in New Issue
Block a user