mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 12:38:33 +00:00
Fix issue where non-ascii characters didn't show inline emoji suggestions.
Fixes #12579
This commit is contained in:
committed by
Alex Hart
parent
c51e13fd30
commit
ebc1bc3f7f
@@ -18,7 +18,7 @@ private const val MINIMUM_QUERY_THRESHOLD = 1
|
|||||||
private const val MINIMUM_INLINE_QUERY_THRESHOLD = 2
|
private const val MINIMUM_INLINE_QUERY_THRESHOLD = 2
|
||||||
private const val EMOJI_SEARCH_LIMIT = 20
|
private const val EMOJI_SEARCH_LIMIT = 20
|
||||||
|
|
||||||
private val NOT_PUNCTUATION = "[A-Za-z0-9 ]".toRegex()
|
private val NOT_PUNCTUATION = "[^\\p{Punct}]".toRegex()
|
||||||
|
|
||||||
class EmojiSearchRepository(private val context: Context) {
|
class EmojiSearchRepository(private val context: Context) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user