mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-01 14:32:54 +01:00
Make application list sorting case-insensitive
This commit is contained in:
parent
48ee259d89
commit
078d3e2a55
@ -85,7 +85,7 @@ public class AppBlacklistAdapter extends RecyclerView.Adapter<AppBlacklistAdapte
|
|||||||
public int compare(ApplicationInfo ai1, ApplicationInfo ai2) {
|
public int compare(ApplicationInfo ai1, ApplicationInfo ai2) {
|
||||||
final String s1 = mNameMap.get(ai1);
|
final String s1 = mNameMap.get(ai1);
|
||||||
final String s2 = mNameMap.get(ai2);
|
final String s2 = mNameMap.get(ai2);
|
||||||
return s1.compareTo(s2);
|
return s1.compareToIgnoreCase(s2);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user