From b2765393c1b5e3f81f89cc14e9a27fa2cd4444cf Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 29 Jan 2022 18:10:15 +0100 Subject: [PATCH] EML debug --- app/src/main/java/eu/faircode/email/ActivityEML.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ActivityEML.java b/app/src/main/java/eu/faircode/email/ActivityEML.java index d75108f262..e061acf09e 100644 --- a/app/src/main/java/eu/faircode/email/ActivityEML.java +++ b/app/src/main/java/eu/faircode/email/ActivityEML.java @@ -431,7 +431,8 @@ public class ActivityEML extends ActivityBase { .append(size > 0 ? Helper.humanReadableByteCount(size) : "?") .append('\n'); - if (!part.isMimeType("multipart/*")) { + if (BuildConfig.DEBUG && + !part.isMimeType("multipart/*")) { Object content = part.getContent(); if (content instanceof String) { String text = (String) content;