mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 14:11:00 +00:00
Fixed crash
This commit is contained in:
parent
f510a7cd19
commit
02ffa61d0f
1 changed files with 2 additions and 0 deletions
|
@ -84,6 +84,8 @@ public class ViewModelBrowse extends ViewModel {
|
||||||
EntityFolder folder = db.folder().getFolder(state.fid);
|
EntityFolder folder = db.folder().getFolder(state.fid);
|
||||||
if (folder == null) // unified inbox
|
if (folder == null) // unified inbox
|
||||||
return;
|
return;
|
||||||
|
if (folder.account == null) // outbox
|
||||||
|
return;
|
||||||
|
|
||||||
if (state.search == null) {
|
if (state.search == null) {
|
||||||
EntityAccount account = db.account().getAccount(folder.account);
|
EntityAccount account = db.account().getAccount(folder.account);
|
||||||
|
|
Loading…
Reference in a new issue