Always show images in original message

pull/156/head
M66B 6 years ago
parent 65c84c7b46
commit ef411bb255

@ -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);

Loading…
Cancel
Save