Merge pull request #20684 from Scroody/i-19354
Fix: Emoji animations are not being turned off by using the slider in settings.
This commit is contained in:
commit
a46e38fbbe
@ -93,7 +93,7 @@ const EmojiRain = ({ reactions }) => {
|
||||
}, [EMOJI_RAIN_ENABLED, animations, isAnimating]);
|
||||
|
||||
useEffect(() => {
|
||||
if (isAnimating) {
|
||||
if (isAnimating && animations !== false) {
|
||||
reactions.forEach((reaction) => {
|
||||
const currentTime = new Date().getTime();
|
||||
const secondsSinceCreated = (currentTime - reaction.creationDate.getTime()) / 1000;
|
||||
|
Loading…
Reference in New Issue
Block a user