diff --git a/app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditAdapter.kt b/app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditAdapter.kt index 163d66584..78905dccb 100644 --- a/app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditAdapter.kt @@ -18,11 +18,9 @@ class BookSourceEditAdapter : RecyclerView.Adapter when (index) { - 0 -> showReplaceHelp() - 1 -> showRegexHelp() + 0 -> showRegexHelp() } } } - private fun showReplaceHelp() { - - } - private fun showRegexHelp() { val mdText = String(assets.open("help/regex.md").readBytes()) TextDialog.show(supportFragmentManager, mdText, TextDialog.MD)