mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 08:55:12 +00:00
Merge branch 'group-notif' into 'main'
Add Group Notifications Closes #1175 See merge request famedly/fluffychat!1116
This commit is contained in:
commit
7767f26925
2 changed files with 16 additions and 0 deletions
|
@ -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",
|
||||
|
|
|
@ -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…
Reference in a new issue