Fix optional

This commit is contained in:
Arkadiusz Fal 2022-03-29 17:31:27 +02:00
parent 6d32122e1c
commit fadffca69f

View File

@ -255,7 +255,7 @@ final class MPVBackend: PlayerBackend {
private func updateControlsIsPlaying() {
DispatchQueue.main.async { [weak self] in
self?.controls.isPlaying = self?.isPlaying ?? false
self?.controls?.isPlaying = self?.isPlaying ?? false
}
}