[Main Menu] Added Privacy Policy link in App Menu

Signed-off-by: Kevin López Brante <kevin@kddlb.cl>
swiftingly
Kevin López 2022-06-21 22:30:30 -04:00 committed by Christopher Snowhill
parent de5cce8351
commit a4692b80a4
3 changed files with 13 additions and 0 deletions

View File

@ -71,6 +71,8 @@
- (IBAction)openKofiPage:(id)sender;
- (IBAction)openPatreonPage:(id)sender;
- (IBAction)privacyPolicy:(id)sender;
- (IBAction)feedback:(id)sender;
- (void)initDefaults;

View File

@ -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"];

View File

@ -1250,6 +1250,13 @@
<menuItem isSeparatorItem="YES" id="1100">
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
</menuItem>
<menuItem title="Privacy Policy..." id="nb7-FW-egH">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="privacyPolicy:" target="226" id="c3c-kH-5sf"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="0ig-xg-gkg"/>
<menuItem title="Donate" id="751">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Donate" id="kue-p2-G0Y">