mirror of
https://github.com/krille-chan/fluffychat
synced 2024-10-05 14:32:43 +00:00
fix: Remove pantalaimon message with normal error message
This commit is contained in:
parent
1712d30c2f
commit
a31dce0a21
2 changed files with 2 additions and 6 deletions
|
@ -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)),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue