Various Improvements

This commit is contained in:
Ilya Laktyushin
2022-04-23 05:28:29 +04:00
parent e3dc5cbe8a
commit 71bde57b6a
90 changed files with 1757 additions and 297 deletions

View File

@@ -581,10 +581,10 @@ public final class MediaPlayerScrubbingNode: ASDisplayNode {
if let strongSelf = self {
strongSelf.scrubbingBeginTimestamp = nil
let scrubbingTimestampValue = strongSelf.scrubbingTimestampValue
strongSelf.scrubbingTimestampValue = nil
strongSelf._scrubbingTimestamp.set(.single(nil))
Queue.mainQueue().after(0.01, {
Queue.mainQueue().after(0.05, {
strongSelf._scrubbingTimestamp.set(.single(nil))
strongSelf._scrubbingPosition.set(.single(nil))
strongSelf.scrubbingTimestampValue = nil
})
if let scrubbingTimestampValue = scrubbingTimestampValue, apply {
if let statusValue = strongSelf.statusValue {