mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 01:48:12 +00:00
Add shortcut to watch next hide
This commit is contained in:
@@ -181,12 +181,15 @@ struct WatchNextView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ViewBuilder var hideCloseButton: some View {
|
@ViewBuilder var hideCloseButton: some View {
|
||||||
|
Group {
|
||||||
if model.isHideable {
|
if model.isHideable {
|
||||||
hideButton
|
hideButton
|
||||||
} else {
|
} else {
|
||||||
closeButton
|
closeButton
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.keyboardShortcut(.cancelAction)
|
||||||
|
}
|
||||||
|
|
||||||
var hideButton: some View {
|
var hideButton: some View {
|
||||||
Button {
|
Button {
|
||||||
|
Reference in New Issue
Block a user