mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 23:50:58 +01:00
Fixed folder sort order
This commit is contained in:
@@ -617,7 +617,7 @@ public class FragmentAccount extends FragmentBase {
|
||||
altJunk.type = EntityFolder.JUNK;
|
||||
|
||||
if (result.folders.size() > 0)
|
||||
Collections.sort(result.folders, result.folders.get(0).getComparator(context));
|
||||
Collections.sort(result.folders, result.folders.get(0).getComparator(null));
|
||||
}
|
||||
|
||||
return result;
|
||||
@@ -1221,7 +1221,7 @@ public class FragmentAccount extends FragmentBase {
|
||||
List<EntityFolder> folders = db.folder().getFolders(account);
|
||||
|
||||
if (folders != null && folders.size() > 0)
|
||||
Collections.sort(folders, folders.get(0).getComparator(context));
|
||||
Collections.sort(folders, folders.get(0).getComparator(null));
|
||||
|
||||
return folders;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user