|
|
@ -15,6 +15,12 @@ class NotificationSettingsItem {
|
|
|
|
final String Function(BuildContext) title;
|
|
|
|
final String Function(BuildContext) title;
|
|
|
|
const NotificationSettingsItem(this.type, this.key, this.title);
|
|
|
|
const NotificationSettingsItem(this.type, this.key, this.title);
|
|
|
|
static List<NotificationSettingsItem> items = [
|
|
|
|
static List<NotificationSettingsItem> items = [
|
|
|
|
|
|
|
|
NotificationSettingsItem(
|
|
|
|
|
|
|
|
PushRuleKind.underride,
|
|
|
|
|
|
|
|
'.m.rule.message',
|
|
|
|
|
|
|
|
(c) => L10n.of(c)!.allRooms,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
NotificationSettingsItem(
|
|
|
|
NotificationSettingsItem(
|
|
|
|
PushRuleKind.underride,
|
|
|
|
PushRuleKind.underride,
|
|
|
|
'.m.rule.room_one_to_one',
|
|
|
|
'.m.rule.room_one_to_one',
|
|
|
|