mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Merge pull request #11638 from nextcloud/fix/11600
Fix text duplication when using TextEditorWebView
This commit is contained in:
commit
439e5ec10b
2 changed files with 6 additions and 7 deletions
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue