mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-26 02:45:31 +01:00
EML: fixed broken inline images
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user