mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Prevent crash
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user