Commit graph

5 commits

Author SHA1 Message Date
Stefan Ceriu
f7a8163947
Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
Johannes Marbach
d3b578e440 EmojiStore: Include short name when searching for emojis
This adds the "common" short name to the list of strings to match the search text
against. Previously, only the "other" short names were included in the comparison.
This causes an issue for certain emojis like, for instance, the "Hundred Points
Symbol" where the term "100" is *only* included in the common short name. As a
result, the emoji did not previously show up when searching for "100".

Note that as a side effect, searching for "2" will now also return things such as
the "dog2" emoji. This matches the behavior in the Element Android app and also in
the emoji-mart Node.js package.

Closes: #4063

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2021-03-05 19:48:00 +01:00
SBiOSoftWhare
ca7779ae58 Emoji picker: Handle Manu's comments. 2019-07-26 14:06:19 +02:00
SBiOSoftWhare
c9d4b4193a Emoji picker: Implement Emoji store, view model and view data. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
01b9b483c6 Emoji picker: Handle Emoji parsing with EmojiService. 2019-07-25 16:58:14 +02:00