Completion on emoji

This commit is contained in:
Benoit Marty 2019-12-22 08:46:55 +01:00
parent 9e73e95f55
commit 5fa2acf60b
1 changed files with 10 additions and 1 deletions

View File

@ -53,6 +53,15 @@ class EmojiDataSource @Inject constructor(
} }
fun getQuickReactions(): List<EmojiItem> { fun getQuickReactions(): List<EmojiItem> {
return listOf("👍", "👎", "😄", "🎉", "😕", "❤️", "🚀", "👀").mapNotNull { rawData.emojis[it] } return listOf(
"+1", // 👍
"-1", // 👎
"grinning", // 😄
"tada", // 🎉
"confused", // 😕
"heart", // ❤️
"rocket", // 🚀
"eyes" // 👀
).mapNotNull { rawData.emojis[it] }
} }
} }