mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
656e244f61
commit
06e4fd6a6c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue