fix: Notifications for reactions

This commit is contained in:
Christian Pauly 2022-02-14 15:46:49 +01:00
parent 3d7287993f
commit 9bd8b6aa44
4 changed files with 15 additions and 3 deletions

View File

@ -2714,5 +2714,13 @@
"markAsRead": "Mark as read", "markAsRead": "Mark as read",
"matrixWidgets": "Matrix Widgets", "matrixWidgets": "Matrix Widgets",
"integrationsNotImplemented": "Editing widgets and integrations is not possible yet.", "integrationsNotImplemented": "Editing widgets and integrations is not possible yet.",
"editIntegrations": "Edit widgets and integrations" "editIntegrations": "Edit widgets and integrations",
"reactedWith": "{sender} reacted with {reaction}",
"@reactedWith": {
"type": "text",
"placeholders": {
"sender": {},
"reaction": {}
}
}
} }

View File

@ -261,4 +261,8 @@ class MatrixLocals extends MatrixLocalizations {
@override @override
String get you => l10n.you; String get you => l10n.you;
@override
String sentReaction(String senderName, String reactionKey) =>
l10n.reactedWith(senderName, reactionKey);
} }

View File

@ -832,7 +832,7 @@ packages:
name: matrix name: matrix
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.8.6" version: "0.8.7"
matrix_api_lite: matrix_api_lite:
dependency: transitive dependency: transitive
description: description:

View File

@ -51,7 +51,7 @@ dependencies:
intl: any intl: any
localstorage: ^4.0.0+1 localstorage: ^4.0.0+1
lottie: ^1.2.1 lottie: ^1.2.1
matrix: ^0.8.6 matrix: ^0.8.7
matrix_link_text: ^1.0.2 matrix_link_text: ^1.0.2
open_noti_settings: ^0.4.0 open_noti_settings: ^0.4.0
package_info_plus: ^1.2.1 package_info_plus: ^1.2.1