mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
refactor(app): collapse the duplicate emoji shortcode matchers into one (#1854)
This commit is contained in:
1 parent
aad7e1a551
commit
02406925d7
11 files changed
+81
-86
No files matched your search
+1
-1
@@ -99,7 +99,7 @@ const StatusEmojiWithTooltip = observer(
|
||||
return `:${status.emojiName}:`;
|
||||
}
|
||||
if (status.emojiName) {
|
||||
return UnicodeEmojis.convertSurrogateToName(status.emojiName, true, status.emojiName);
|
||||
return UnicodeEmojis.nameForSurrogate(status.emojiName, true, status.emojiName);
|
||||
}
|
||||
return '';
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user