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
@ -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…
x
Reference in New Issue
Block a user