Lottie update

This commit is contained in:
Isaac
2024-06-07 19:35:33 +04:00
parent 2254886ae3
commit c9fc721c39
4 changed files with 61 additions and 8 deletions

View File

@@ -967,12 +967,14 @@ final class ChatSendMessageContextScreenComponent: Component {
standaloneReactionAnimation = DirectAnimatedStickerNode()
effectiveScale = 1.4
#else
if "".isEmpty {
standaloneReactionAnimation = DirectAnimatedStickerNode()
effectiveScale = 1.4
/*if "".isEmpty {
standaloneReactionAnimation = DirectAnimatedStickerNode()
effectiveScale = 1.4
} else {
standaloneReactionAnimation = LottieMetalAnimatedStickerNode()
}
}*/
#endif
standaloneReactionAnimation.isUserInteractionEnabled = false