Fix warning

This commit is contained in:
Nathan Mattes 2023-09-21 13:12:24 +02:00
parent a74de8fba1
commit 95fdc7616f
1 changed files with 1 additions and 3 deletions

View File

@ -56,9 +56,7 @@ final class MediaPreviewVideoViewModel {
// setup player state observer
$playbackState
.receive(on: DispatchQueue.main)
.sink { [weak self] status in
guard let self = self else { return }
.sink { status in
switch status {
case .unknown, .buffering, .readyToPlay:
break