Fix emote conflicts in recent emotes panel
This commit is contained in:
parent
e057ea0b09
commit
92caa2f572
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ class RecentEmotesPanel extends StatelessWidget {
|
|||
(context, index) {
|
||||
final emote = assetsStore.recentEmotes[index];
|
||||
final validEmotes = [...assetsStore.emoteToObject.values, ...assetsStore.userEmoteToObject.values];
|
||||
final matchingEmotes = validEmotes.where((existingEmote) => existingEmote.name == emote.name);
|
||||
final matchingEmotes = validEmotes.where((existingEmote) => existingEmote.name == emote.name && existingEmote.type == emote.type);
|
||||
|
||||
return GestureDetector(
|
||||
onTap: matchingEmotes.isNotEmpty
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue