1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-14 22:30:32 +05:30

Fix optional

This commit is contained in:
Arkadiusz Fal 2022-03-29 17:31:27 +02:00
parent d37fef0578
commit 998ded2dad

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
}
}