pull/473/head
gedoor 4 years ago
parent 29f7198e99
commit d8727e44f1
  1. 2
      app/src/main/java/io/legado/app/ui/association/ImportRssSourceActivity.kt
  2. 2
      app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt

@ -79,7 +79,7 @@ class ImportRssSourceActivity : VMBaseActivity<ImportRssSourceViewModel>(
} }
private fun successDialog() { private fun successDialog() {
ImportRssSourcesDialog().show(supportFragmentManager, "SourceDialog") ImportRssSourceDialog().show(supportFragmentManager, "SourceDialog")
} }
} }

@ -34,7 +34,7 @@ import org.jetbrains.anko.sdk27.listeners.onClick
/** /**
* 导入rss源弹出窗口 * 导入rss源弹出窗口
*/ */
class ImportRssSourcesDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListener { class ImportRssSourceDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListener {
val viewModel: ImportRssSourceViewModel val viewModel: ImportRssSourceViewModel
get() = getViewModelOfActivity(ImportRssSourceViewModel::class.java) get() = getViewModelOfActivity(ImportRssSourceViewModel::class.java)

Loading…
Cancel
Save