Removed adding image background

pull/209/head
M66B 2 years ago
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…
Cancel
Save