mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-15 08:29:24 +00:00
EML: fixed broken inline images
This commit is contained in:
parent
b1c2f82239
commit
a2ef375a94
1 changed files with 3 additions and 3 deletions
|
@ -300,13 +300,13 @@ public class ActivityEML extends ActivityBase {
|
|||
ImageHelper.fitDrawable(d, w == null ? 0 : w, h == null ? 0 : h, 1.0f, tvBody);
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
d = ContextCompat.getDrawable(context, R.drawable.twotone_broken_image_24);
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (d == null)
|
||||
d = ContextCompat.getDrawable(context, R.drawable.twotone_image_24);
|
||||
}
|
||||
d = ContextCompat.getDrawable(context, R.drawable.twotone_broken_image_24);
|
||||
} else
|
||||
d = ContextCompat.getDrawable(context, R.drawable.twotone_image_24);
|
||||
} else {
|
||||
d = ContextCompat.getDrawable(context, R.drawable.twotone_my_location_24);
|
||||
d.setTint(Helper.resolveColor(context, R.attr.colorWarning));
|
||||
|
|
Loading…
Add table
Reference in a new issue