diff --git a/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt b/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt index c915b139a..dba47e57d 100644 --- a/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt +++ b/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt @@ -60,6 +60,11 @@ class SourceEditActivity : VMBaseActivity(R.layout.activity } } + override fun onDestroy() { + super.onDestroy() + mSoftKeyboardTool?.dismiss() + } + override fun onCompatCreateOptionsMenu(menu: Menu): Boolean { menuInflater.inflate(R.menu.source_edit, menu) return super.onCompatCreateOptionsMenu(menu)