mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Minor tvOS controls and remote improvements
This commit is contained in:
@@ -372,7 +372,14 @@ final class PlayerModel: ObservableObject {
|
||||
#endif
|
||||
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
|
||||
self?.backend.setNeedsDrawing(self?.presentingPlayer ?? false)
|
||||
guard let self = self else { return }
|
||||
self.backend.setNeedsDrawing(self.presentingPlayer)
|
||||
|
||||
#if os(tvOS)
|
||||
if self.presentingPlayer {
|
||||
self.controls.show()
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
controls.hide()
|
||||
|
Reference in New Issue
Block a user