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(
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
SnackBar(
|
SnackBar(
|
||||||
content: Text(
|
content: Text(
|
||||||
event.type == EventTypes.Encrypted
|
event.calcLocalizedBodyFallback(MatrixLocals(l10n)),
|
||||||
? l10n.needPantalaimonWarning
|
|
||||||
: event.calcLocalizedBodyFallback(
|
|
||||||
MatrixLocals(l10n),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -176,7 +176,7 @@ class MatrixLocals extends MatrixLocalizations {
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get needPantalaimonWarning => l10n.needPantalaimonWarning;
|
String get needPantalaimonWarning => l10n.oopsSomethingWentWrong;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get noPermission => l10n.noKeyForThisMessage;
|
String get noPermission => l10n.noKeyForThisMessage;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue