Revert "Always show images in original message"

This reverts commit ef411bb255.
This commit is contained in:
M66B 2019-05-31 08:06:40 +02:00
parent 30b1330ce2
commit 2cb3ab0994
1 changed files with 3 additions and 1 deletions

View File

@ -1766,10 +1766,12 @@ 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(true);
settings.setLoadsImagesAutomatically(show_images);
settings.setBuiltInZoomControls(true);
settings.setDisplayZoomControls(false);