[Main Menu] Added Privacy Policy link in App Menu

Signed-off-by: Kevin López Brante <kevin@kddlb.cl>
lastfm
Kevin López 2022-06-21 22:30:30 -04:00
parent 0679b146a3
commit d78b31d34e
3 changed files with 13 additions and 0 deletions

View File

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

View File

@ -498,6 +498,10 @@ BOOL kAppControllerShuttingDown = NO;
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://www.patreon.com/kode54"]]; [[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 { - (IBAction)feedback:(id)sender {
NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]; NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"];

View File

@ -1245,6 +1245,13 @@
<menuItem isSeparatorItem="YES" id="1100"> <menuItem isSeparatorItem="YES" id="1100">
<modifierMask key="keyEquivalentModifierMask" command="YES"/> <modifierMask key="keyEquivalentModifierMask" command="YES"/>
</menuItem> </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"> <menuItem title="Donate" id="751">
<modifierMask key="keyEquivalentModifierMask"/> <modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Donate" id="kue-p2-G0Y"> <menu key="submenu" title="Donate" id="kue-p2-G0Y">