update to new support URL

// FREEBIE
pull/1/head
Michael Kirk 8 years ago
parent 2824892b6e
commit 4997b4e332

@ -34,12 +34,11 @@
OWSTableSection *helpSection = [OWSTableSection new]; OWSTableSection *helpSection = [OWSTableSection new];
helpSection.headerTitle = NSLocalizedString(@"SETTINGS_HELP_HEADER", @""); helpSection.headerTitle = NSLocalizedString(@"SETTINGS_HELP_HEADER", @"");
[helpSection [helpSection addItem:[OWSTableItem disclosureItemWithText:NSLocalizedString(@"SETTINGS_SUPPORT", @"")
addItem:[OWSTableItem disclosureItemWithText:NSLocalizedString(@"SETTINGS_SUPPORT", @"") actionBlock:^{
actionBlock:^{ [[UIApplication sharedApplication]
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://support.signal.org"]];
openURL:[NSURL URLWithString:@"http://support.whispersystems.org"]]; }]];
}]];
[contents addSection:helpSection]; [contents addSection:helpSection];
UILabel *copyrightLabel = [UILabel new]; UILabel *copyrightLabel = [UILabel new];

@ -490,7 +490,7 @@ typedef void (^CustomLayoutBlock)();
- (void)learnMoreButtonTapped:(UIGestureRecognizer *)gestureRecognizer - (void)learnMoreButtonTapped:(UIGestureRecognizer *)gestureRecognizer
{ {
if (gestureRecognizer.state == UIGestureRecognizerStateRecognized) { if (gestureRecognizer.state == UIGestureRecognizerStateRecognized) {
NSString *learnMoreURL = @"https://support.whispersystems.org/hc/en-us/articles/" NSString *learnMoreURL = @"https://support.signal.org/hc/en-us/articles/"
@"213134107"; @"213134107";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:learnMoreURL]]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:learnMoreURL]];
} }

@ -510,7 +510,7 @@ NSString *const kProfileView_LastPresentedDate = @"kProfileView_LastPresentedDat
{ {
if (sender.state == UIGestureRecognizerStateRecognized) { if (sender.state == UIGestureRecognizerStateRecognized) {
[UIApplication.sharedApplication [UIApplication.sharedApplication
openURL:[NSURL URLWithString:@"https://support.whispersystems.org/hc/en-us/articles/115001110511"]]; openURL:[NSURL URLWithString:@"https://support.signal.org/hc/en-us/articles/115001110511"]];
} }
} }

Loading…
Cancel
Save