Fixed WebView hash reset

This commit is contained in:
M66B
2025-02-19 19:26:06 +01:00
parent c8541fce76
commit 990fec94f9

View File

@@ -247,7 +247,7 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
void setImages(boolean show_images, boolean inline) {
WebSettings settings = getSettings();
if (settings.getLoadsImagesAutomatically() != show_images)
if (settings.getLoadsImagesAutomatically() != (show_images || inline))
this.hash = null;
settings.setLoadsImagesAutomatically(show_images || inline);