fix: Remove pantalaimon message with normal error message

This commit is contained in:
krille-chan 2024-03-09 08:34:11 +01:00
parent 1712d30c2f
commit a31dce0a21
No known key found for this signature in database
2 changed files with 2 additions and 6 deletions

View file

@ -42,11 +42,7 @@ class MessageContent extends StatelessWidget {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text(
event.type == EventTypes.Encrypted
? l10n.needPantalaimonWarning
: event.calcLocalizedBodyFallback(
MatrixLocals(l10n),
),
event.calcLocalizedBodyFallback(MatrixLocals(l10n)),
),
),
);

View file

@ -176,7 +176,7 @@ class MatrixLocals extends MatrixLocalizations {
}
@override
String get needPantalaimonWarning => l10n.needPantalaimonWarning;
String get needPantalaimonWarning => l10n.oopsSomethingWentWrong;
@override
String get noPermission => l10n.noKeyForThisMessage;