diff options
author | Andrew Gaul <andrew@gaul.org> | 2019-08-12 21:25:38 -0700 |
---|---|---|
committer | Andrew Gaul <andrew@gaul.org> | 2019-08-12 21:25:38 -0700 |
commit | 50e71545f7afac961553211f70bd1d1407e069a8 (patch) | |
tree | 66493f1f88a521ab3bcea4be5d3dd0a123cf4446 /app/src/main/java/de/danoeh/antennapod | |
parent | 0680dfb0476b2c7ebd89ca30819a618291a252ad (diff) | |
download | AntennaPod-50e71545f7afac961553211f70bd1d1407e069a8.zip |
Sort automatic download wifi names ignoring case
When a user has many wifi networks it can be difficult to remember if
a given network has upper- or lower-case.
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/preferences/AutoDownloadPreferencesFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/preferences/AutoDownloadPreferencesFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/preferences/AutoDownloadPreferencesFragment.java index 6cba798ba..a04615a00 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/preferences/AutoDownloadPreferencesFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/preferences/AutoDownloadPreferencesFragment.java @@ -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()); |