Merge pull request #11638 from nextcloud/fix/11600

Fix text duplication when using TextEditorWebView
This commit is contained in:
Tobias Kaminsky 2023-05-23 08:47:22 +02:00 committed by GitHub
commit 439e5ec10b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

View file

@ -154,6 +154,12 @@ public class ExternalSiteWebView extends FileActivity {
getWebView().loadUrl(url);
}
@Override
protected void onDestroy() {
getWebView().destroy();
super.onDestroy();
}
protected void bindView() {
binding = ExternalsiteWebviewBinding.inflate(getLayoutInflater());
}

View file

@ -144,13 +144,6 @@ public class RichDocumentsEditorWebView extends EditorWebView {
super.onRestoreInstanceState(savedInstanceState);
}
@Override
protected void onDestroy() {
getWebView().destroy();
super.onDestroy();
}
@Override
protected void onResume() {
super.onResume();