mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
actually make the keyboard search button work in tracking sheet
This commit is contained in:
parent
53a6ec50e8
commit
6990bcaa26
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class TrackingBottomSheet(private val controller: MangaDetailsController) :
|
|||
}
|
||||
|
||||
binding.trackSearch.setOnEditorActionListener { _, actionId, _ ->
|
||||
if (actionId == EditorInfo.IME_ACTION_DONE) {
|
||||
if (actionId == EditorInfo.IME_ACTION_DONE || actionId == EditorInfo.IME_ACTION_SEARCH) {
|
||||
val text = binding.trackSearch.text?.toString() ?: ""
|
||||
if (text.isNotBlank()) {
|
||||
startTransition()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue