mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-25 23:20:53 +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