mirror of
https://github.com/yattee/yattee.git
synced 2024-12-14 14:20:32 +05:30
Fix optional
This commit is contained in:
parent
6d32122e1c
commit
fadffca69f
@ -255,7 +255,7 @@ final class MPVBackend: PlayerBackend {
|
|||||||
|
|
||||||
private func updateControlsIsPlaying() {
|
private func updateControlsIsPlaying() {
|
||||||
DispatchQueue.main.async { [weak self] in
|
DispatchQueue.main.async { [weak self] in
|
||||||
self?.controls.isPlaying = self?.isPlaying ?? false
|
self?.controls?.isPlaying = self?.isPlaying ?? false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user