mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 07:32:08 +01:00
Refactoring
This commit is contained in:
@@ -109,7 +109,7 @@ public class HtmlHelper {
|
||||
}
|
||||
|
||||
static Drawable decodeImage(String source, Context context, long id, boolean show) {
|
||||
int px = Helper.dp2pixels(48, context);
|
||||
int px = Helper.dp2pixels(context, 48);
|
||||
|
||||
if (TextUtils.isEmpty(source)) {
|
||||
Drawable d = context.getResources().getDrawable(R.drawable.baseline_broken_image_24, context.getTheme());
|
||||
|
||||
Reference in New Issue
Block a user