Refactoring

This commit is contained in:
M66B
2020-04-24 14:00:53 +02:00
parent 5112bca339
commit d98ee009aa
4 changed files with 11 additions and 3 deletions

View File

@@ -1924,7 +1924,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
}
// Draw images
Spanned spanned = HtmlHelper.fromHtml(document.html(), new Html.ImageGetter() {
Spanned spanned = HtmlHelper.fromDocument(document, new Html.ImageGetter() {
@Override
public Drawable getDrawable(String source) {
Drawable drawable = ImageHelper.decodeImage(context, message.id, source, show_images, zoom, tvBody);