From a4692b80a4e028c2eb44aa5abfc5ff5d22c4d9c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Lo=CC=81pez=20Brante?= Date: Tue, 21 Jun 2022 22:30:30 -0400 Subject: [PATCH] [Main Menu] Added Privacy Policy link in App Menu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kevin LoĢpez Brante --- Application/AppController.h | 2 ++ Application/AppController.m | 4 ++++ Base.lproj/MainMenu.xib | 7 +++++++ 3 files changed, 13 insertions(+) diff --git a/Application/AppController.h b/Application/AppController.h index 0f973d170..c4d507882 100644 --- a/Application/AppController.h +++ b/Application/AppController.h @@ -71,6 +71,8 @@ - (IBAction)openKofiPage:(id)sender; - (IBAction)openPatreonPage:(id)sender; +- (IBAction)privacyPolicy:(id)sender; + - (IBAction)feedback:(id)sender; - (void)initDefaults; diff --git a/Application/AppController.m b/Application/AppController.m index 9bf54cf0a..cf5d984f4 100644 --- a/Application/AppController.m +++ b/Application/AppController.m @@ -505,6 +505,10 @@ BOOL kAppControllerShuttingDown = NO; [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://www.patreon.com/kode54"]]; } +- (IBAction)privacyPolicy:(id)sender { + [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://www.iubenda.com/privacy-policy/59859310"]]; +} + - (IBAction)feedback:(id)sender { NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]; diff --git a/Base.lproj/MainMenu.xib b/Base.lproj/MainMenu.xib index 8c2051ed0..eaa92fdbe 100644 --- a/Base.lproj/MainMenu.xib +++ b/Base.lproj/MainMenu.xib @@ -1250,6 +1250,13 @@ + + + + + + +