From 193aab2ceff02298f40c87fd2a20c905fb0d1ce0 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Sun, 2 Aug 2020 08:43:55 -0400 Subject: [PATCH] Open the Notifications prefPane directly in System Preferences --- Mac/Inspector/WebFeedInspectorViewController.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mac/Inspector/WebFeedInspectorViewController.swift b/Mac/Inspector/WebFeedInspectorViewController.swift index 5e35e19a7..91e146a8e 100644 --- a/Mac/Inspector/WebFeedInspectorViewController.swift +++ b/Mac/Inspector/WebFeedInspectorViewController.swift @@ -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")) } } - } }