1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Labels are user folders only

This commit is contained in:
M66B 2020-06-25 16:03:51 +02:00
parent f15785ce78
commit de62d8b00b

View file

@ -3597,7 +3597,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
List<String> result = new ArrayList<>();
if (folders != null)
for (EntityFolder folder : folders)
if (!EntityFolder.INBOX.equals(folder.type))
if (EntityFolder.USER.equals(folder.type))
result.add(folder.name);
Collator collator = Collator.getInstance(Locale.getDefault());