From d8727e44f18a42385711ee6c01975dba401c413b Mon Sep 17 00:00:00 2001 From: gedoor Date: Mon, 9 Nov 2020 15:20:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/legado/app/ui/association/ImportRssSourceActivity.kt | 2 +- .../java/io/legado/app/ui/association/ImportRssSourceDialog.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/association/ImportRssSourceActivity.kt b/app/src/main/java/io/legado/app/ui/association/ImportRssSourceActivity.kt index 8e91a46c5..d69a4dad9 100644 --- a/app/src/main/java/io/legado/app/ui/association/ImportRssSourceActivity.kt +++ b/app/src/main/java/io/legado/app/ui/association/ImportRssSourceActivity.kt @@ -79,7 +79,7 @@ class ImportRssSourceActivity : VMBaseActivity( } private fun successDialog() { - ImportRssSourcesDialog().show(supportFragmentManager, "SourceDialog") + ImportRssSourceDialog().show(supportFragmentManager, "SourceDialog") } } \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt b/app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt index bac273839..493524ec7 100644 --- a/app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt +++ b/app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt @@ -34,7 +34,7 @@ import org.jetbrains.anko.sdk27.listeners.onClick /** * 导入rss源弹出窗口 */ -class ImportRssSourcesDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListener { +class ImportRssSourceDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListener { val viewModel: ImportRssSourceViewModel get() = getViewModelOfActivity(ImportRssSourceViewModel::class.java)