This commit is contained in:
kunfei 2023-02-18 18:39:32 +08:00
parent 4f9819592a
commit 6c1339a3e5
2 changed files with 4 additions and 1 deletions

View File

@ -34,7 +34,8 @@ class ClickActionConfigDialog : BaseDialogFragment(R.layout.dialog_click_action_
Pair(7, getString(R.string.bookmark_add)),
Pair(8, getString(R.string.edit_content)),
Pair(9, getString(R.string.replace_state_change)),
Pair(10, getString(R.string.chapter_list))
Pair(10, getString(R.string.chapter_list)),
Pair(11, getString(R.string.search_content))
)
}

View File

@ -424,6 +424,7 @@ class ReadView(context: Context, attrs: AttributeSet) :
8 -> activity?.showDialogFragment(ContentEditDialog())
9 -> callBack.changeReplaceRuleState()
10 -> callBack.openChapterList()
11 -> callBack.openSearchActivity(null)
}
}
@ -654,5 +655,6 @@ class ReadView(context: Context, attrs: AttributeSet) :
fun openChapterList()
fun addBookmark()
fun changeReplaceRuleState()
fun openSearchActivity(searchWord: String?)
}
}