mirror of
https://github.com/yattee/yattee.git
synced 2024-12-15 14:50:32 +05:30
Add hide player button cancel action
This commit is contained in:
parent
9a91b9911b
commit
2a38408f04
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user