fix: Remove pantalaimon message with normal error message

krille/experimental-design
krille-chan 2 years ago
parent 1712d30c2f
commit a31dce0a21
No known key found for this signature in database

@ -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…
Cancel
Save