Sort folders on display name

This commit is contained in:
M66B
2019-05-01 13:08:15 +02:00
parent b32a67bf34
commit ff09645b7c
7 changed files with 43 additions and 19 deletions

View File

@@ -235,8 +235,13 @@ public class EntityFolder extends EntityOrder implements Serializable {
}
@Override
String getSortTitle(Context context) {
return Helper.localizeFolderName(context, name);
String getSortKey(Context context) {
return getDisplayName(context);
}
@Override
String[] getSortTitle(Context context) {
return new String[]{getDisplayName(context), null};
}
boolean isOutgoing() {