Always show images in original message

This commit is contained in:
M66B 2019-05-30 20:35:57 +02:00
parent 65c84c7b46
commit ef411bb255
1 changed files with 1 additions and 3 deletions

View File

@ -1771,12 +1771,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
WebView webView = new WebView(context);
setupWebView(webView);
boolean show_images = properties.getValue("images", id);
WebSettings settings = webView.getSettings();
settings.setDefaultFontSize(Math.round(textSize));
settings.setDefaultFixedFontSize(Math.round(textSize));
settings.setLoadsImagesAutomatically(show_images);
settings.setLoadsImagesAutomatically(true);
settings.setBuiltInZoomControls(true);
settings.setDisplayZoomControls(false);