Merge pull request #1625 from vector-im/langleyd/fix_emoji_shortcut_values
Fix emoji shortcut values
This commit is contained in:
commit
da345f9afa
2 changed files with 2 additions and 2 deletions
|
|
@ -348,7 +348,7 @@ private fun EmojiReactionsRow(
|
||||||
) {
|
) {
|
||||||
// TODO use most recently used emojis here when available from the Rust SDK
|
// TODO use most recently used emojis here when available from the Rust SDK
|
||||||
val defaultEmojis = sequenceOf(
|
val defaultEmojis = sequenceOf(
|
||||||
"👍", "👎", "🔥", "❤️", "👏"
|
"👍️", "👎️", "🔥", "❤️", "👏"
|
||||||
)
|
)
|
||||||
for (emoji in defaultEmojis) {
|
for (emoji in defaultEmojis) {
|
||||||
val isHighlighted = highlightedEmojis.contains(emoji)
|
val isHighlighted = highlightedEmojis.contains(emoji)
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ fun aTimelineItemReactions(
|
||||||
count: Int = 1,
|
count: Int = 1,
|
||||||
isHighlighted: Boolean = false,
|
isHighlighted: Boolean = false,
|
||||||
): TimelineItemReactions {
|
): TimelineItemReactions {
|
||||||
val emojis = arrayOf("👍", "😀️", "😁️", "😆️", "😅️", "🤣️", "🥰️", "😇️", "😊️", "😉️", "🙃️", "🙂️", "😍️", "🤗️", "🤭️")
|
val emojis = arrayOf("👍️", "😀️", "😁️", "😆️", "😅️", "🤣️", "🥰️", "😇️", "😊️", "😉️", "🙃️", "🙂️", "😍️", "🤗️", "🤭️")
|
||||||
return TimelineItemReactions(
|
return TimelineItemReactions(
|
||||||
reactions = buildList {
|
reactions = buildList {
|
||||||
repeat(count) { index ->
|
repeat(count) { index ->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue