Revised compose actions

This commit is contained in:
M66B
2018-08-05 18:22:55 +00:00
parent bcb0f5b8a8
commit b1cc40bb47
11 changed files with 61 additions and 115 deletions

View File

@@ -146,7 +146,7 @@ public class FragmentMessages extends FragmentEx {
public Bundle loadInBackground() {
Bundle result = new Bundle();
try {
EntityFolder drafts = DB.getInstance(getContext()).folder().getPrimaryDraftFolder();
EntityFolder drafts = DB.getInstance(getContext()).folder().getPrimaryFolder(EntityFolder.TYPE_DRAFTS);
result.putBoolean("drafts", drafts != null);
} catch (Throwable ex) {
Log.e(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex));