mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-28 22:18:46 +03:00
Reaction search: fix missed update
If we throttle and type fast, we don't get the last update sometimes. This actually also applies to emoji search results, but becomes more important for freeform reactions. Change-Id: I0bb515cd90c06361e7dd5d2c248eac495dd5bd63
This commit is contained in:
parent
3dbbed6489
commit
3201c629c4
2 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ class EmojiReactionPickerActivity : VectorBaseActivity<ActivityEmojiReactionPick
|
|||
}
|
||||
|
||||
searchView.queryTextChanges()
|
||||
.throttleFirst(600)
|
||||
//.throttleFirst(600)
|
||||
.onEach { query ->
|
||||
onQueryText(query.toString())
|
||||
}
|
||||
|
|
|
@ -59,7 +59,7 @@ class EmojiSearchResultController @Inject constructor(
|
|||
keywords = listOf(stringProvider.getString(R.string.freeform_reaction_summary))
|
||||
)
|
||||
emojiSearchResultItem {
|
||||
id("de.spiritcroc.riotx.freeform-reaction-is-somebody-really-caring-about-this-key-lol")
|
||||
id("de.spiritcroc.riotx.freeform-reaction.${data.query}")
|
||||
emojiItem(freeformReaction)
|
||||
emojiTypeFace(host.emojiTypeface)
|
||||
currentQuery(data.query)
|
||||
|
|
Loading…
Reference in a new issue