Split the description of the new "Show all activity" notification setting

This commit is contained in:
Stefan Ceriu
2026-09-28 14:10:48 +03:00
parent e6bd8b0eb9
commit 1464a98ef0
8 changed files with 18 additions and 13 deletions
+4 -2
View File
@@ -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...
@@ -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)