Add hide player button cancel action

This commit is contained in:
Arkadiusz Fal 2022-02-17 00:01:48 +01:00
parent ae861bce65
commit 1d24705c92

View File

@ -90,7 +90,9 @@ struct PlayerControls: View {
HStack(spacing: 4) {
hidePlayerButton
Text(playbackStatus)
Spacer()
ToggleBackendButton()
Text("")
StreamControl()
@ -106,6 +108,7 @@ struct PlayerControls: View {
} label: {
Image(systemName: "chevron.down.circle.fill")
}
.keyboardShortcut(.cancelAction)
}
private var playbackStatus: String {