mirror of https://github.com/M66B/FairEmail.git
Removed adding image background
This commit is contained in:
parent
16c9e733df
commit
2c7bfe5e61
|
@ -587,11 +587,11 @@ class ImageHelper {
|
||||||
|
|
||||||
d.setBounds(0, 0, w, h);
|
d.setBounds(0, 0, w, h);
|
||||||
|
|
||||||
if (view instanceof TextView) {
|
//if (view instanceof TextView) {
|
||||||
int tc = ((TextView) view).getCurrentTextColor();
|
// int tc = ((TextView) view).getCurrentTextColor();
|
||||||
int bg = ColorUtils.setAlphaComponent(tc, Math.round(255 * 0.05f));
|
// int bg = ColorUtils.setAlphaComponent(tc, Math.round(255 * 0.05f));
|
||||||
d.setColorFilter(bg, PorterDuff.Mode.DST_OVER);
|
// d.setColorFilter(bg, PorterDuff.Mode.DST_OVER);
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
static String getDataUriType(String source) {
|
static String getDataUriType(String source) {
|
||||||
|
|
Loading…
Reference in New Issue