mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-17 07:30:16 -05:00
FolderMessageList was lowercasing and comparing two strings. Using case-insensitve comparisons is much, much cheaper
This commit is contained in:
parent
8bd2f9c260
commit
0bbdeaaa6e
@ -1219,7 +1219,7 @@ public class FolderMessageList extends ExpandableListActivity {
|
||||
} else if (k9.INBOX.equalsIgnoreCase(s2)) {
|
||||
return 1;
|
||||
} else
|
||||
return s1.toUpperCase().compareTo(s2.toUpperCase());
|
||||
return s1.compareToIgnoreCase(s2);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user