feat: Add toggle to mute notifications from chat groups
This commit is contained in:
parent
2a1a68de22
commit
3aa43ac8bc
2 changed files with 16 additions and 0 deletions
|
|
@ -15,6 +15,12 @@ class NotificationSettingsItem {
|
|||
final String Function(BuildContext) title;
|
||||
const NotificationSettingsItem(this.type, this.key, this.title);
|
||||
static List<NotificationSettingsItem> items = [
|
||||
NotificationSettingsItem(
|
||||
PushRuleKind.underride,
|
||||
'.m.rule.message',
|
||||
(c) => L10n.of(c)!.allRooms,
|
||||
),
|
||||
|
||||
NotificationSettingsItem(
|
||||
PushRuleKind.underride,
|
||||
'.m.rule.room_one_to_one',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue