From 1aa57a5aaec1dbf4e4c75655790da18a9f016631 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 18 Oct 2020 09:24:41 +0200 Subject: [PATCH] Order child folders by name --- app/src/main/java/eu/faircode/email/DaoFolder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/DaoFolder.java b/app/src/main/java/eu/faircode/email/DaoFolder.java index 9b544a5cc2..37474c3d37 100644 --- a/app/src/main/java/eu/faircode/email/DaoFolder.java +++ b/app/src/main/java/eu/faircode/email/DaoFolder.java @@ -176,7 +176,8 @@ public interface DaoFolder { List getNotifyingFolders(long account); @Query("SELECT * FROM folder" + - " WHERE parent = :parent") + " WHERE parent = :parent" + + " ORDER BY name COLLATE NOCASE") List getChildFolders(long parent); @Query("SELECT folder.type" +