From e70efdaa5a275dfa8c43bde7fa6f4daf3194d95e Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Tue, 18 Jan 2022 00:07:40 -0800 Subject: [PATCH] Donate options: Re-launched my Patreon page, so added the link back --- Application/AppController.h | 1 + Application/AppController.m | 5 +++++ Base.lproj/MainMenu.xib | 8 +++++++- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Application/AppController.h b/Application/AppController.h index a95658edd..0a08caf03 100644 --- a/Application/AppController.h +++ b/Application/AppController.h @@ -67,6 +67,7 @@ - (IBAction)openLiberapayPage:(id)sender; - (IBAction)openPaypalPage:(id)sender; - (IBAction)openKofiPage:(id)sender; +- (IBAction)openPatreonPage:(id)sender; - (IBAction)feedback:(id)sender; diff --git a/Application/AppController.m b/Application/AppController.m index 6f99d0ea9..174b9928a 100644 --- a/Application/AppController.m +++ b/Application/AppController.m @@ -436,6 +436,11 @@ void* kAppControllerContext = &kAppControllerContext; [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://ko-fi.com/kode54"]]; } +- (IBAction)openPatreonPage:(id)sender +{ + [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://www.patreon.com/kode54"]]; +} + - (IBAction)feedback:(id)sender { diff --git a/Base.lproj/MainMenu.xib b/Base.lproj/MainMenu.xib index 8a201a92b..a0eba4f0f 100644 --- a/Base.lproj/MainMenu.xib +++ b/Base.lproj/MainMenu.xib @@ -32,7 +32,7 @@ - + @@ -839,6 +839,12 @@ + + + + + +