mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Adds default cancel keyboard shortcut
This commit is contained in:
@@ -122,7 +122,7 @@ struct InspectorView: View {
|
||||
Spacer()
|
||||
Button("Cancel", action: {
|
||||
presentationMode.wrappedValue.dismiss()
|
||||
})
|
||||
}).keyboardShortcut(.cancelAction)
|
||||
Button("Done", action: {
|
||||
inspectorModel.shouldUpdate = true
|
||||
}).keyboardShortcut(.defaultAction)
|
||||
@@ -170,7 +170,7 @@ struct InspectorView: View {
|
||||
Spacer()
|
||||
Button("Cancel", action: {
|
||||
presentationMode.wrappedValue.dismiss()
|
||||
})
|
||||
}).keyboardShortcut(.cancelAction)
|
||||
Button("Done", action: {
|
||||
inspectorModel.shouldUpdate = true
|
||||
}).keyboardShortcut(.defaultAction)
|
||||
@@ -221,7 +221,7 @@ struct InspectorView: View {
|
||||
Spacer()
|
||||
Button("Cancel", action: {
|
||||
presentationMode.wrappedValue.dismiss()
|
||||
})
|
||||
}).keyboardShortcut(.cancelAction)
|
||||
Button("Done", action: {
|
||||
inspectorModel.shouldUpdate = true
|
||||
}).keyboardShortcut(.defaultAction)
|
||||
|
||||
Reference in New Issue
Block a user