Minor improvements

This commit is contained in:
Arkadiusz Fal
2022-05-29 15:35:16 +02:00
parent cbb989e2e1
commit 87a6a3d275
2 changed files with 7 additions and 4 deletions

View File

@@ -94,9 +94,11 @@ final class PlayerControlsModel: ObservableObject {
}
func resetTimer() {
if !presentingControls {
show()
}
#if os(tvOS)
if !presentingControls {
show()
}
#endif
removeTimer()
timer = Timer.scheduledTimer(withTimeInterval: 5.0, repeats: false) { _ in