mirror of
https://github.com/yattee/yattee.git
synced 2025-04-27 15:30:33 +05:30
Add shortcut to watch next hide
This commit is contained in:
parent
ff5893f8db
commit
3c971f582f
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user