summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod
diff options
context:
space:
mode:
authorAndrew Gaul <andrew@gaul.org>2019-08-12 21:25:38 -0700
committerAndrew Gaul <andrew@gaul.org>2019-08-12 21:25:38 -0700
commit50e71545f7afac961553211f70bd1d1407e069a8 (patch)
tree66493f1f88a521ab3bcea4be5d3dd0a123cf4446 /app/src/main/java/de/danoeh/antennapod
parent0680dfb0476b2c7ebd89ca30819a618291a252ad (diff)
downloadAntennaPod-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.java2
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());