mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Prevent crash
This commit is contained in:
@@ -196,6 +196,8 @@ public class FragmentAnswer extends FragmentBase {
|
||||
etText.setText(HtmlHelper.fromHtml(answer.text, new Html.ImageGetter() {
|
||||
@Override
|
||||
public Drawable getDrawable(String source) {
|
||||
if (source != null && source.startsWith("cid:"))
|
||||
source = null;
|
||||
return ImageHelper.decodeImage(getContext(), -1, source, true, 0, 1.0f, etText);
|
||||
}
|
||||
}, null, getContext()));
|
||||
|
||||
Reference in New Issue
Block a user