ui: move Cast between window mode and settings controls

This commit is contained in:
2026-10-13 23:51:28 +02:00
parent ed9d8c6713
commit 58609e4d99
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -1805,6 +1805,7 @@ private struct PlayerContent: View {
.imageScale(.small)
.foregroundStyle(Color(model.isOnTop ? SunsetPalette.accent : SunsetPalette.secondaryText))
.disabled(model.isFullScreen || model.compactWindow.isTransitioning)
CastDeviceMenu(model: model)
actionsMenu
}
.padding(.horizontal, 8)
@@ -1870,8 +1871,8 @@ private struct PlayerContent: View {
.disabled(!model.canTogglePlayback)
iconButton("pip.exit", "Exit Compact Mode", action: model.toggleCompact)
.disabled(!model.canToggleCompact)
actionsMenu
CastDeviceMenu(model: model)
actionsMenu
}
if showsBufferReadout { bufferReadout }
}
@@ -1919,7 +1920,6 @@ private struct PlayerContent: View {
}
Spacer(minLength: 8)
HStack(spacing: 12) {
CastDeviceMenu(model: model)
if !model.subtitleTracks.isEmpty { captionsMenu }
iconButton("pip.enter", "Enter Compact Mode", action: model.toggleCompact)
.disabled(!model.canToggleCompact)