mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Use separate strings for Message Preview selector
This commit is contained in:
parent
0c06906352
commit
c533642043
@ -6141,3 +6141,6 @@ Sorry for the inconvenience.";
|
||||
"Channel.AdminLog.MessageAddedAdminNameUsername" = "promoted %1$@ (%2$@)";
|
||||
"Channel.AdminLog.MessageRemovedAdminName" = "demoted %1$@";
|
||||
"Channel.AdminLog.MessageRemovedAdminNameUsername" = "demoted %1$@ (%2$@)";
|
||||
|
||||
"Notification.Exceptions.MessagePreviewAlwaysOn" = "Always On";
|
||||
"Notification.Exceptions.MessagePreviewAlwaysOff" = "Always Off";
|
||||
|
@ -180,9 +180,9 @@ private enum NotificationPeerExceptionEntry: ItemListNodeEntry {
|
||||
let title: String
|
||||
switch value {
|
||||
case .alwaysOn:
|
||||
title = strings.Notification_Exceptions_AlwaysOn
|
||||
title = strings.Notification_Exceptions_MessagePreviewAlwaysOn
|
||||
case .alwaysOff:
|
||||
title = strings.Notification_Exceptions_AlwaysOff
|
||||
title = strings.Notification_Exceptions_MessagePreviewAlwaysOff
|
||||
}
|
||||
return ItemListCheckboxItem(presentationData: presentationData, title: title, style: .left, checked: selected, zeroSeparatorInsets: false, sectionId: self.section, action: {
|
||||
arguments.selectDisplayPreviews(value)
|
||||
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user