diff --git a/app/src/main/java/io/legado/app/ui/association/ImportBookSourceDialog.kt b/app/src/main/java/io/legado/app/ui/association/ImportBookSourceDialog.kt index 74a40a954..c33174f0c 100644 --- a/app/src/main/java/io/legado/app/ui/association/ImportBookSourceDialog.kt +++ b/app/src/main/java/io/legado/app/ui/association/ImportBookSourceDialog.kt @@ -130,7 +130,6 @@ class ImportBookSourceDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickList activity?.finish() } - inner class SourcesAdapter(context: Context) : SimpleRecyclerAdapter(context, R.layout.item_source_import) { @@ -158,4 +157,4 @@ class ImportBookSourceDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickList } -} +} \ 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 f5b1a40b3..e6aec6f80 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 @@ -37,8 +37,7 @@ import org.jetbrains.anko.sdk27.listeners.onClick class ImportRssSourcesDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListener { val viewModel: ImportRssSourceViewModel - get() = - getViewModelOfActivity(ImportRssSourceViewModel::class.java) + get() = getViewModelOfActivity(ImportRssSourceViewModel::class.java) lateinit var adapter: SourcesAdapter override fun onStart() { @@ -157,5 +156,4 @@ class ImportRssSourcesDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickList } } - -} +} \ No newline at end of file