mirror of
https://github.com/M66B/FairEmail.git
synced 2026-05-08 00:26:50 +02:00
Clear WebViews
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user