feat: replace normal fullscreen control with compact-mode button

This commit is contained in:
2026-10-10 22:02:35 +02:00
parent fa66020951
commit a6bebb05c0
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -630,9 +630,8 @@ private struct PlayerContent: View {
}
Spacer(minLength: 8)
HStack(spacing: 12) {
iconButton(model.isFullScreen ? "arrow.down.right.and.arrow.up.left" : "arrow.up.left.and.arrow.down.right",
model.isFullScreen ? "Exit Full Screen" : "Enter Full Screen", action: model.toggleFullScreen)
.disabled(model.compactWindow.isTransitioning)
iconButton("pip.enter", "Enter Compact Mode", action: model.toggleCompact)
.disabled(!model.canToggleCompact)
actionsMenu
}
.frame(width: 106, alignment: .trailing)