From c0110d128207812a420f3d29cd15edbda650f0e1 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 5 Sep 2019 17:36:44 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/sourceedit/SourceEditActivity.kt | 5 +++++ 1 file changed, 5 insertions(+) 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)