From 9adf047525bbebf7de5973f58778b8a9c211e088 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 12 Feb 2018 13:10:13 -0800 Subject: [PATCH] Add Donate to App Camp for Girls menu item to the Help menu. It opens the browser to https://appcamp4girls.com/contribute/ Fix #181. --- Evergreen/AppDelegate.swift | 5 +++++ Evergreen/Base.lproj/Main.storyboard | 11 +++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Evergreen/AppDelegate.swift b/Evergreen/AppDelegate.swift index 8609606f0..2756f2dec 100644 --- a/Evergreen/AppDelegate.swift +++ b/Evergreen/AppDelegate.swift @@ -442,6 +442,11 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, Browser.open("https://ranchero.com/evergreen/help/1.0/", inBackground: false) } + @IBAction func donateToAppCampForGirls(_ sender: Any?) { + + Browser.open("https://appcamp4girls.com/contribute/", inBackground: false) + } + @IBAction func debugDropConditionalGetInfo(_ sender: Any?) { #if DEBUG AccountManager.shared.accounts.forEach{ $0.debugDropConditionalGetInfo() } diff --git a/Evergreen/Base.lproj/Main.storyboard b/Evergreen/Base.lproj/Main.storyboard index 01e847f32..b34254e0c 100644 --- a/Evergreen/Base.lproj/Main.storyboard +++ b/Evergreen/Base.lproj/Main.storyboard @@ -1,7 +1,7 @@ - + - + @@ -538,6 +538,13 @@ + + + + + + +