mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Split the description of the new "Show all activity" notification setting
This commit is contained in:
@@ -2568,8 +2568,10 @@ internal nonisolated enum L10n {
|
||||
internal static var screenNotificationSettingsNotificationSectionTitle: String { return L10n.tr("Localizable", "screen_notification_settings_notification_section_title") }
|
||||
/// Mentions of @room
|
||||
internal static var screenNotificationSettingsRoomMentionLabel: String { return L10n.tr("Localizable", "screen_notification_settings_room_mention_label") }
|
||||
/// Show all activity in the room list (dots or number of unread messages)
|
||||
internal static var screenNotificationSettingsShowAllActivity: String { return L10n.tr("Localizable", "screen_notification_settings_show_all_activity") }
|
||||
/// Dots or number of unread messages
|
||||
internal static var screenNotificationSettingsShowAllActivitySubtitle: String { return L10n.tr("Localizable", "screen_notification_settings_show_all_activity_subtitle") }
|
||||
/// Show all activity in the room list
|
||||
internal static var screenNotificationSettingsShowAllActivityTitle: String { return L10n.tr("Localizable", "screen_notification_settings_show_all_activity_title") }
|
||||
/// Custom
|
||||
internal static var screenNotificationSettingsSoundCustomFallback: String { return L10n.tr("Localizable", "screen_notification_settings_sound_custom_fallback") }
|
||||
/// Custom sound...
|
||||
|
||||
+2
-1
@@ -145,7 +145,8 @@ struct NotificationSettingsScreen: View {
|
||||
|
||||
private var roomListActivitySection: some View {
|
||||
Section {
|
||||
ListRow(label: .plain(title: L10n.screenNotificationSettingsShowAllActivity),
|
||||
ListRow(label: .plain(title: L10n.screenNotificationSettingsShowAllActivityTitle,
|
||||
description: L10n.screenNotificationSettingsShowAllActivitySubtitle),
|
||||
kind: .toggle($context.showAllRoomListActivity))
|
||||
.onChange(of: context.showAllRoomListActivity) {
|
||||
context.send(viewAction: .showAllRoomListActivityChanged)
|
||||
|
||||
Reference in New Issue
Block a user