Add showPrivacyPolicy action to app delegate.

This commit is contained in:
Brent Simmons 2018-12-28 22:11:55 -08:00
parent 5b017cb6a7
commit 844a69446d

View File

@ -495,6 +495,10 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
AppDefaults.timelineSortDirection = .orderedDescending AppDefaults.timelineSortDirection = .orderedDescending
} }
@IBAction func showPrivacyPolicy(_ sender: Any?) {
Browser.open(AppConstants.privacyPolicyURL, inBackground: false)
}
} }
private extension AppDelegate { private extension AppDelegate {