Prevent crash

This commit is contained in:
M66B 2018-12-20 18:18:10 +01:00
parent 656e244f61
commit 06e4fd6a6c
1 changed files with 2 additions and 0 deletions

View File

@ -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 {