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
1 changed files with 4 additions and 0 deletions

View File

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