diff --git a/app/src/main/java/eu/faircode/email/AdapterNavUnified.java b/app/src/main/java/eu/faircode/email/AdapterNavUnified.java index 0de184927a..7e42b221d4 100644 --- a/app/src/main/java/eu/faircode/email/AdapterNavUnified.java +++ b/app/src/main/java/eu/faircode/email/AdapterNavUnified.java @@ -59,6 +59,7 @@ public class AdapterNavUnified extends RecyclerView.Adapter map = new HashMap<>(); TupleFolderUnified unified = new TupleFolderUnified(); for (TupleFolderUnified type : new ArrayList<>(folders)) { - if (!EntityFolder.INBOX.equals(type.type)) + if (!nav_categories || !EntityFolder.INBOX.equals(type.type)) type.category = null; for (int i = 0; i < 1 + (type.category == null ? 0 : 1); i++) { if (i > 0) {