mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Emoji status and reaction improvements
This commit is contained in:
@@ -113,12 +113,7 @@ final class ChatMessageNotificationItemNode: NotificationItemNode {
|
||||
func setupItem(_ item: ChatMessageNotificationItem, compact: Bool) {
|
||||
self.item = item
|
||||
|
||||
if self.animationCache == nil {
|
||||
self.animationCache = AnimationCacheImpl(basePath: item.context.account.postbox.mediaBox.basePath + "/animation-cache", allocateTempFile: {
|
||||
return TempBox.shared.tempFile(fileName: "file").path
|
||||
})
|
||||
self.multiAnimationRenderer = MultiAnimationRendererImpl()
|
||||
}
|
||||
self.animationCache = item.context.animationCache
|
||||
|
||||
self.compact = compact
|
||||
if compact {
|
||||
|
||||
Reference in New Issue
Block a user