From d78b31d34ea9870eaa579249e979947b215fcde0 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 a39681dbc..ae2928ab5 100644 --- a/Application/AppController.h +++ b/Application/AppController.h @@ -68,6 +68,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 e6ad5df26..bd3223b20 100644 --- a/Application/AppController.m +++ b/Application/AppController.m @@ -498,6 +498,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 184a80e01..bc19dfd46 100644 --- a/Base.lproj/MainMenu.xib +++ b/Base.lproj/MainMenu.xib @@ -1245,6 +1245,13 @@ + + + + + + +