mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 17:13:23 +02:00
Prevent crash
This commit is contained in:
@@ -1647,6 +1647,8 @@ public class FragmentCompose extends FragmentBase {
|
||||
Spanned spanned = HtmlHelper.fromHtml(html, new Html.ImageGetter() {
|
||||
@Override
|
||||
public Drawable getDrawable(String source) {
|
||||
if (source != null && source.startsWith("cid:"))
|
||||
source = null;
|
||||
return ImageHelper.decodeImage(getContext(), working, source, true, zoom, 1.0f, etBody);
|
||||
}
|
||||
}, null, getContext());
|
||||
|
||||
Reference in New Issue
Block a user