Add back read receipts option to settings

pull/272/head
nielsandriesse 5 years ago
parent 120dbb675c
commit 4b95781dd9

@ -97,25 +97,25 @@ static NSString *const kSealedSenderInfoURL = @"https://signal.org/blog/sealed-s
// }]]; // }]];
// [contents addSection:blocklistSection]; // [contents addSection:blocklistSection];
// //
// OWSTableSection *readReceiptsSection = [OWSTableSection new]; // ========
// readReceiptsSection.headerTitle OWSTableSection *readReceiptsSection = [OWSTableSection new];
// = NSLocalizedString(@"SETTINGS_READ_RECEIPT", @"Label for the 'read receipts' setting."); readReceiptsSection.headerTitle
// readReceiptsSection.footerTitle = NSLocalizedString( = NSLocalizedString(@"SETTINGS_READ_RECEIPT", @"Label for the 'read receipts' setting.");
// @"SETTINGS_READ_RECEIPTS_SECTION_FOOTER", @"An explanation of the 'read receipts' setting."); readReceiptsSection.footerTitle = NSLocalizedString(
// [readReceiptsSection @"SETTINGS_READ_RECEIPTS_SECTION_FOOTER", @"An explanation of the 'read receipts' setting.");
// addItem:[OWSTableItem switchItemWithText:NSLocalizedString(@"SETTINGS_READ_RECEIPT", [readReceiptsSection
// @"Label for the 'read receipts' setting.") addItem:[OWSTableItem switchItemWithText:NSLocalizedString(@"SETTINGS_READ_RECEIPT",
// accessibilityIdentifier:[NSString stringWithFormat:@"settings.privacy.%@", @"read_receipts"] @"Label for the 'read receipts' setting.")
// isOnBlock:^{ accessibilityIdentifier:[NSString stringWithFormat:@"settings.privacy.%@", @"read_receipts"]
// return [OWSReadReceiptManager.sharedManager areReadReceiptsEnabled]; isOnBlock:^{
// } return [OWSReadReceiptManager.sharedManager areReadReceiptsEnabled];
// isEnabledBlock:^{ }
// return YES; isEnabledBlock:^{
// } return YES;
// target:weakSelf }
// selector:@selector(didToggleReadReceiptsSwitch:)]]; target:weakSelf
// [contents addSection:readReceiptsSection]; selector:@selector(didToggleReadReceiptsSwitch:)]];
// ======== [contents addSection:readReceiptsSection];
OWSTableSection *typingIndicatorsSection = [OWSTableSection new]; OWSTableSection *typingIndicatorsSection = [OWSTableSection new];
typingIndicatorsSection.headerTitle typingIndicatorsSection.headerTitle

Loading…
Cancel
Save