feat: replace normal fullscreen control with compact-mode button
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user