mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 19:34:15 +01:00
Fixed scaling of inline images
This commit is contained in:
@@ -156,7 +156,7 @@ public class HtmlHelper {
|
||||
return d;
|
||||
} else {
|
||||
Drawable d = new BitmapDrawable(bm);
|
||||
d.setBounds(0, 0, bm.getWidth(), bm.getHeight());
|
||||
d.setBounds(0, 0, d.getIntrinsicWidth(), d.getIntrinsicHeight());
|
||||
return d;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user