mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Performance improvements
This commit is contained in:
@@ -136,12 +136,7 @@ struct PlayerControls: View {
|
||||
}
|
||||
.onChange(of: model.presentingOverlays) { newValue in
|
||||
if newValue {
|
||||
player.backend.stopControlsUpdates()
|
||||
} else {
|
||||
#if os(tvOS)
|
||||
focusedField = .play
|
||||
#endif
|
||||
player.backend.startControlsUpdates()
|
||||
model.hide()
|
||||
}
|
||||
}
|
||||
#if os(tvOS)
|
||||
|
Reference in New Issue
Block a user