Open the Notifications prefPane directly in System Preferences

This commit is contained in:
Angelo Stavrow committed 2020-08-02 17:10:28 -04:00
1 parent 3cb47afe65
commit 193aab2cef
1 file changed
+1 -2
@@ -191,9 +191,8 @@ 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"))
NSWorkspace.shared.open(URL(fileURLWithPath: "x-apple.systempreferences:com.apple.preference.notifications"))
}
}
}
}