diff --git a/app/src/main/java/eu/faircode/email/ViewModelBrowse.java b/app/src/main/java/eu/faircode/email/ViewModelBrowse.java index 59954843d4..8cb8c5917c 100644 --- a/app/src/main/java/eu/faircode/email/ViewModelBrowse.java +++ b/app/src/main/java/eu/faircode/email/ViewModelBrowse.java @@ -83,6 +83,8 @@ public class ViewModelBrowse extends ViewModel { DB db = DB.getInstance(state.context); EntityFolder folder = db.folder().getFolder(state.fid); + if (folder == null) // unified inbox + return; if (state.search != null) try {