Merge pull request #2452 from AngeloStavrow/mac-release

Fix action for open-system-preferences button in alert
This commit is contained in:
Maurice Parker authored and GitHub committed 2020-09-22 18:52:49 -05:00
commit 175d7f5bee
1 file changed
+1 -1
@@ -204,7 +204,7 @@ private extension WebFeedInspectorViewController {
updateAlert.addButton(withTitle: NSLocalizedString("Close", comment: "Close"))
let modalResponse = updateAlert.runModal()
if modalResponse == .alertFirstButtonReturn {
NSWorkspace.shared.open(URL(fileURLWithPath: "x-apple.systempreferences:com.apple.preference.notifications"))
NSWorkspace.shared.open(URL(string: "x-apple.systempreferences:com.apple.preference.notifications")!)
}
}