Custom Emoji: Fix adaptive preview color (#5113)
This commit is contained in:
parent
c747985821
commit
d549ca49c0
@ -162,6 +162,7 @@ const StickerView: FC<OwnProps> = ({
|
|||||||
thumbClassName,
|
thumbClassName,
|
||||||
'sticker-media',
|
'sticker-media',
|
||||||
)}
|
)}
|
||||||
|
style={filterStyle}
|
||||||
alt=""
|
alt=""
|
||||||
draggable={false}
|
draggable={false}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -31,7 +31,7 @@ const CustomEmojiEffect: FC<OwnProps> = ({
|
|||||||
particleSize,
|
particleSize,
|
||||||
onEnded,
|
onEnded,
|
||||||
}) => {
|
}) => {
|
||||||
const stickerHash = getStickerHashById(reaction.documentId);
|
const stickerHash = getStickerHashById(reaction.documentId, true);
|
||||||
|
|
||||||
const previewMediaData = useMedia(!isLottie ? stickerHash : undefined);
|
const previewMediaData = useMedia(!isLottie ? stickerHash : undefined);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user