[WIP] Disposable debugging

This commit is contained in:
Ali
2023-09-16 11:45:30 +02:00
parent 4bf474bbe5
commit 4330dc14d2
46 changed files with 168 additions and 75 deletions

View File

@@ -180,7 +180,7 @@ public final class AvatarVideoNode: ASDisplayNode {
strongSelf.animationFile = file
strongSelf.setupAnimation()
}
})
}).strict()
case let .sticker(packReference, fileId):
self.fileDisposable = (self.context.engine.stickers.loadedStickerPack(reference: packReference, forceActualized: false)
|> map { pack -> TelegramMediaFile? in
@@ -194,7 +194,7 @@ public final class AvatarVideoNode: ASDisplayNode {
strongSelf.animationFile = file
strongSelf.setupAnimation()
}
})
}).strict()
}
}