Add muting of threads.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-04-18 12:41:56 -04:00
parent d968c899b5
commit 499c8d0bc1
2 changed files with 4 additions and 8 deletions

View File

@ -712,12 +712,11 @@ static NSString *const OWSConversationSettingsTableViewControllerSegueShowGroupM
- (void)showMuteUnmuteActionSheet
{
NSString *title;
// The "unmute" action sheet has no title or message; the
// action label speaks for itself.
NSString *title = nil;
NSString *message = nil;
if (self.thread.isMuted) {
title = NSLocalizedString(
@"CONVERSATION_SETTINGS_UNMUTE_ACTION_SHEET_TITLE", @"Title of the 'unmute this thread' action sheet.");
} else {
if (!self.thread.isMuted) {
title = NSLocalizedString(
@"CONVERSATION_SETTINGS_MUTE_ACTION_SHEET_TITLE", @"Title of the 'mute this thread' action sheet.");
message = NSLocalizedString(

View File

@ -265,9 +265,6 @@
/* Label for button to unmute a thread. */
"CONVERSATION_SETTINGS_UNMUTE_ACTION" = "Unmute";
/* Title of the 'unmute this thread' action sheet. */
"CONVERSATION_SETTINGS_UNMUTE_ACTION_SHEET_TITLE" = "Unmute";
/* ActionSheet title */
"CORRUPTED_SESSION_DESCRIPTION" = "Resetting your session will allow you to receive future messages from %@, but it will not recover any already corrupted messages.";