Buffering status

This commit is contained in:
Ali
2020-07-17 22:54:34 +04:00
parent 7fc078d315
commit 082e77a8d5
17 changed files with 56 additions and 41 deletions

View File

@@ -176,7 +176,7 @@ final class ChatRecordingPreviewInputPanelNode: ChatInputPanelNode {
|> deliverOnMainQueue).start(next: { [weak self] status in
if let strongSelf = self {
switch status.status {
case .playing, .buffering(_, true):
case .playing, .buffering(_, true, _):
strongSelf.playButton.isHidden = true
default:
strongSelf.playButton.isHidden = false