mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
优化
This commit is contained in:
parent
4f9819592a
commit
6c1339a3e5
@ -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))
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -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?)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user