fixup blogpost url

pull/1/head
Michael Kirk 7 years ago
parent b5bf3761a1
commit 82d64405d0

@ -17,6 +17,8 @@
NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_BEGIN
static NSString *const kSealedSenderInfoURL = @"https://signal.org/blog/sealed-sender/";
@implementation PrivacySettingsTableViewController @implementation PrivacySettingsTableViewController
- (void)viewDidLoad - (void)viewDidLoad
@ -255,7 +257,7 @@ NS_ASSUME_NONNULL_BEGIN
} }
customRowHeight:UITableViewAutomaticDimension customRowHeight:UITableViewAutomaticDimension
actionBlock:^{ actionBlock:^{
NSURL *url = [NSURL URLWithString:@"https://signal.org/blog/sealed-sender/"]; NSURL *url = [NSURL URLWithString:kSealedSenderInfoURL];
OWSAssertDebug(url); OWSAssertDebug(url);
[UIApplication.sharedApplication openURL:url]; [UIApplication.sharedApplication openURL:url];
}]]; }]];
@ -280,8 +282,7 @@ NS_ASSUME_NONNULL_BEGIN
addItem:[OWSTableItem disclosureItemWithText:NSLocalizedString(@"SETTINGS_UNIDENTIFIED_DELIVERY_LEARN_MORE", addItem:[OWSTableItem disclosureItemWithText:NSLocalizedString(@"SETTINGS_UNIDENTIFIED_DELIVERY_LEARN_MORE",
@"Label for a link to more info about unidentified delivery.") @"Label for a link to more info about unidentified delivery.")
actionBlock:^{ actionBlock:^{
NSURL *url = NSURL *url = [NSURL URLWithString:kSealedSenderInfoURL];
[NSURL URLWithString:@"https://signal.org/blog/secret-sender/"];
OWSAssertDebug(url); OWSAssertDebug(url);
[UIApplication.sharedApplication openURL:url]; [UIApplication.sharedApplication openURL:url];
}]]; }]];

Loading…
Cancel
Save