Composer: delay only for forwarded messaged (#4180)

This commit is contained in:
Alexander Zinchuk 2024-01-18 18:18:32 +01:00
parent 21aefeffef
commit 5b821bd350

View File

@ -103,7 +103,7 @@ const ComposerEmbeddedMessage: FC<OwnProps & StateProps> = ({
); );
const canAnimate = useAsyncRendering( const canAnimate = useAsyncRendering(
[isShown], [isShown],
isShown ? FORWARD_RENDERING_DELAY : undefined, isForwarding ? FORWARD_RENDERING_DELAY : undefined,
); );
const { const {