Custom Emoji: Fix adaptive preview color (#5113)

This commit is contained in:
zubiden 2024-11-02 21:11:32 +04:00 committed by Alexander Zinchuk
parent c747985821
commit d549ca49c0
2 changed files with 2 additions and 1 deletions

View File

@ -162,6 +162,7 @@ const StickerView: FC<OwnProps> = ({
thumbClassName,
'sticker-media',
)}
style={filterStyle}
alt=""
draggable={false}
/>

View File

@ -31,7 +31,7 @@ const CustomEmojiEffect: FC<OwnProps> = ({
particleSize,
onEnded,
}) => {
const stickerHash = getStickerHashById(reaction.documentId);
const stickerHash = getStickerHashById(reaction.documentId, true);
const previewMediaData = useMedia(!isLottie ? stickerHash : undefined);