mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 09:31:11 +01:00
Sort folders on display name
This commit is contained in:
@@ -124,10 +124,15 @@ public class EntityAccount extends EntityOrder implements Serializable {
|
||||
}
|
||||
|
||||
@Override
|
||||
String getSortTitle(Context context) {
|
||||
String getSortKey(Context context) {
|
||||
return name;
|
||||
}
|
||||
|
||||
@Override
|
||||
String[] getSortTitle(Context context) {
|
||||
return new String[]{name, null};
|
||||
}
|
||||
|
||||
public JSONObject toJSON() throws JSONException {
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("id", id);
|
||||
|
||||
Reference in New Issue
Block a user