mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Stories
This commit is contained in:
@@ -401,9 +401,9 @@ private final class NativeVideoContentNode: ASDisplayNode, UniversalVideoContent
|
||||
func setSoundEnabled(_ value: Bool) {
|
||||
assert(Queue.mainQueue().isCurrent())
|
||||
if value {
|
||||
self.player.playOnceWithSound(playAndRecord: true)
|
||||
self.player.playOnceWithSound(playAndRecord: true, seek: .none)
|
||||
} else {
|
||||
self.player.continuePlayingWithoutSound()
|
||||
self.player.continuePlayingWithoutSound(seek: .none)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user