mirror of https://github.com/M66B/FairEmail.git
Compare folder account name case insensitive
This commit is contained in:
parent
0a2647f0c7
commit
ff3bebce3c
|
@ -496,7 +496,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
||||||
|
|
||||||
if (f1.accountName == null || f2.accountName == null)
|
if (f1.accountName == null || f2.accountName == null)
|
||||||
return 0;
|
return 0;
|
||||||
return f1.accountName.compareTo(f2.accountName);
|
return collator.compare(f1.accountName, f2.accountName);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
int i1 = EntityFolder.FOLDER_SORT_ORDER.indexOf(f1.type);
|
int i1 = EntityFolder.FOLDER_SORT_ORDER.indexOf(f1.type);
|
||||||
|
|
Loading…
Reference in New Issue