mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix emoji playback
This commit is contained in:
parent
b849968275
commit
3f38a9d64a
2 changed files with 6 additions and 2 deletions
|
|
@ -290,7 +290,7 @@ public final class AnimatedStickerNode: ASDisplayNode {
|
|||
if let directData = try? Data(contentsOf: URL(fileURLWithPath: path), options: [.mappedRead]) {
|
||||
strongSelf.directData = (directData, path, width, height, cachePathPrefix, source.fitzModifier, source.isVideo)
|
||||
}
|
||||
if case let .still(position) = playbackMode {
|
||||
if case let .still(position) = strongSelf.playbackMode {
|
||||
strongSelf.seekTo(position)
|
||||
} else if strongSelf.isPlaying || strongSelf.autoplay {
|
||||
if strongSelf.autoplay {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue