Fullscreen handling changes

This commit is contained in:
Arkadiusz Fal
2022-04-03 14:23:42 +02:00
parent 96a6a32cfa
commit b15d024f88
6 changed files with 66 additions and 53 deletions

View File

@@ -187,7 +187,7 @@ struct PlayerControls: View {
"Fullscreen",
systemImage: fullScreenLayout ? "arrow.down.right.and.arrow.up.left" : "arrow.up.left.and.arrow.down.right"
) {
model.toggleFullscreen(fullScreenLayout)
player.toggleFullscreen(fullScreenLayout)
}
#if !os(tvOS)
.keyboardShortcut(fullScreenLayout ? .cancelAction : .defaultAction)