1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-15 06:40:32 +05:30

Add hide player button cancel action

This commit is contained in:
Arkadiusz Fal 2022-02-17 00:01:48 +01:00
parent 9a91b9911b
commit 2a38408f04

View File

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