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

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