mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
#1247 (Mac Catalyst edition)
- Added Manage Account on the Web to Help menu.
This commit is contained in:
parent
8f6635df14
commit
87dbd4ec49
3 changed files with 14 additions and 8 deletions
|
@ -49,6 +49,7 @@
|
|||
- (IBAction)showFindFriends:(id)sender;
|
||||
- (IBAction)showPremium:(id)sender;
|
||||
- (IBAction)showSupportForum:(id)sender;
|
||||
- (IBAction)showManageAccount:(id)sender;
|
||||
- (IBAction)showLogout:(id)sender;
|
||||
|
||||
- (IBAction)findInFeeds:(id)sender;
|
||||
|
|
|
@ -394,6 +394,11 @@
|
|||
[[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil];
|
||||
}
|
||||
|
||||
- (IBAction)showManageAccount:(id)sender {
|
||||
NSURL *url = [NSURL URLWithString:@"https://www.newsblur.com/?next=account"];
|
||||
[[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil];
|
||||
}
|
||||
|
||||
- (IBAction)showLogout:(id)sender {
|
||||
[self.appDelegate confirmLogout];
|
||||
}
|
||||
|
|
|
@ -1932,14 +1932,14 @@
|
|||
[alertController dismissViewControllerAnimated:YES completion:nil];
|
||||
[self actuallyLogout];
|
||||
}]];
|
||||
#if TARGET_OS_MACCATALYST
|
||||
[alertController addAction:[UIAlertAction actionWithTitle: @"Delete Account" style:UIAlertActionStyleDestructive handler:^(UIAlertAction * action) {
|
||||
[alertController dismissViewControllerAnimated:YES completion:nil];
|
||||
[self actuallyLogout];
|
||||
NSURL *url = [NSURL URLWithString:@"https://www.newsblur.com/profile/delete_account"];
|
||||
[[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil];
|
||||
}]];
|
||||
#endif
|
||||
//#if TARGET_OS_MACCATALYST
|
||||
// [alertController addAction:[UIAlertAction actionWithTitle: @"Delete Account" style:UIAlertActionStyleDestructive handler:^(UIAlertAction * action) {
|
||||
// [alertController dismissViewControllerAnimated:YES completion:nil];
|
||||
// [self actuallyLogout];
|
||||
// NSURL *url = [NSURL URLWithString:@"https://www.newsblur.com/profile/delete_account"];
|
||||
// [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil];
|
||||
// }]];
|
||||
//#endif
|
||||
[alertController addAction:[UIAlertAction actionWithTitle:@"Cancel"
|
||||
style:UIAlertActionStyleCancel handler:nil]];
|
||||
[self.feedsViewController presentViewController:alertController animated:YES completion:nil];
|
||||
|
|
Loading…
Add table
Reference in a new issue