From 384b7471cb7483b0a1b03742fd0627af0597aaf7 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Sun, 8 Dec 2024 13:49:12 -0800 Subject: [PATCH] wip nfc cut zulipPopularEmoji --- lib/model/emoji.dart | 54 -------------------------------------------- 1 file changed, 54 deletions(-) diff --git a/lib/model/emoji.dart b/lib/model/emoji.dart index 2c2492bfbf..c374f1c1a3 100644 --- a/lib/model/emoji.dart +++ b/lib/model/emoji.dart @@ -101,60 +101,6 @@ final class EmojiCandidate { } } -// Zulip's hand selected "popular" emojis, currently used as list of -// quick emoji reactions available in the message context menu. -// See: https://github.com/zulip/zulip/blob/3bad36ef8cf07cd57d0b257a739bae635a8527ac/web/shared/src/typeahead.ts#L22-L29 -const zulipPopularEmojis = [ - EmojiCandidate( - emojiType: ReactionType.unicodeEmoji, - emojiCode: '1f44d', - emojiName: '+1', - aliases: ['thumbs_up', 'like'], - emojiDisplay: UnicodeEmojiDisplay( - emojiName: '+1', - emojiUnicode: '\u{1f44d}')), // '👍' - EmojiCandidate( - emojiType: ReactionType.unicodeEmoji, - emojiCode: '1f389', - emojiName: 'tada', - aliases: null, - emojiDisplay: UnicodeEmojiDisplay( - emojiName: 'tada', - emojiUnicode: '\u{1f389}')), // '🎉' - EmojiCandidate( - emojiType: ReactionType.unicodeEmoji, - emojiCode: '1f642', - emojiName: 'smile', - aliases: null, - emojiDisplay: UnicodeEmojiDisplay( - emojiName: 'smile', - emojiUnicode: '\u{1f642}')), // '🙂' - EmojiCandidate( - emojiType: ReactionType.unicodeEmoji, - emojiCode: '2764', - emojiName: 'heart', - aliases: ['love', 'love_you'], - emojiDisplay: UnicodeEmojiDisplay( - emojiName: 'heart', - emojiUnicode: '\u{2764}')), // '❤' - EmojiCandidate( - emojiType: ReactionType.unicodeEmoji, - emojiCode: '1f6e0', - emojiName: 'working_on_it', - aliases: ['hammer_and_wrench', 'tools'], - emojiDisplay: UnicodeEmojiDisplay( - emojiName: 'working_on_it', - emojiUnicode: '\u{1f6e0}')), // '🛠' - EmojiCandidate( - emojiType: ReactionType.unicodeEmoji, - emojiCode: '1f419', - emojiName: 'octopus', - aliases: null, - emojiDisplay: UnicodeEmojiDisplay( - emojiName: 'octopus', - emojiUnicode: '\u{1f419}')), // '🐙' -]; - /// The portion of [PerAccountStore] describing what emoji exist. mixin EmojiStore { /// The realm's custom emoji (for [ReactionType.realmEmoji],