diff --git a/app/src/main/java/eu/faircode/email/AdapterRule.java b/app/src/main/java/eu/faircode/email/AdapterRule.java index f17a3cb0ad..b5698192ef 100644 --- a/app/src/main/java/eu/faircode/email/AdapterRule.java +++ b/app/src/main/java/eu/faircode/email/AdapterRule.java @@ -129,6 +129,9 @@ public class AdapterRule extends RecyclerView.Adapter { if (jcondition.has("subject")) conditions.add(new Pair<>(context.getString(R.string.title_rule_subject), jcondition.getJSONObject("subject").optString("value"))); + if (jcondition.optBoolean("attachments")) + conditions.add(new Pair<>(context.getString(R.string.title_rule_attachments), + null)); if (jcondition.has("header")) conditions.add(new Pair<>(context.getString(R.string.title_rule_header), jcondition.getJSONObject("header").optString("value")));