Clear WebViews

This commit is contained in:
M66B
2024-07-28 08:27:59 +02:00
parent 41988ae418
commit 55daa86f7a

View File

@@ -2018,6 +2018,14 @@ public class Helper {
}
}
if (WebView.class.isAssignableFrom(type)) {
WebView wv = (WebView) field.get(instance);
if (wv != null) {
sb.append(" html");
wv.loadDataWithBaseURL(null, "", "text/html", StandardCharsets.UTF_8.name(), null);
}
}
if (Animator.class.isAssignableFrom(type)) {
Animator animator = (Animator) field.get(instance);
if (animator != null) {