Multiplat mac now uses URL extension

This commit is contained in:
Stuart Breckenridge 2020-08-15 15:08:07 +08:00
parent 78b6b1615c
commit 0151713de3
No known key found for this signature in database
GPG Key ID: 79BD673276AE83CE
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ struct MainApp: App {
})
CommandGroup(after: .help, addition: {
Button("Release Notes", action: {
NSWorkspace.shared.open(ReleaseNotes().url)
NSWorkspace.shared.open(URL.releaseNotes)
})
.keyboardShortcut("V", modifiers: [.shift, .command])
})