diff --git a/assets/l10n/intl_en.arb b/assets/l10n/intl_en.arb index da7d85b6..d1239cdb 100644 --- a/assets/l10n/intl_en.arb +++ b/assets/l10n/intl_en.arb @@ -711,6 +711,16 @@ "type": "text", "placeholders": {} }, +"allRooms": "All Group Chats", + "@allRooms": { + "type": "text", + "placeholders": {} + }, + "discover": "Discover", + "@discover": { + "type": "text", + "placeholders": {} + }, "displaynameHasBeenChanged": "Displayname has been changed", "@displaynameHasBeenChanged": { "type": "text", diff --git a/lib/pages/settings_notifications/settings_notifications.dart b/lib/pages/settings_notifications/settings_notifications.dart index 5f2d5ff5..eb787be5 100644 --- a/lib/pages/settings_notifications/settings_notifications.dart +++ b/lib/pages/settings_notifications/settings_notifications.dart @@ -15,6 +15,12 @@ class NotificationSettingsItem { final String Function(BuildContext) title; const NotificationSettingsItem(this.type, this.key, this.title); static List items = [ + NotificationSettingsItem( + PushRuleKind.underride, + '.m.rule.message', + (c) => L10n.of(c)!.allRooms, + ), + NotificationSettingsItem( PushRuleKind.underride, '.m.rule.room_one_to_one',