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