Show decrypt error
This commit is contained in:
parent
5485666356
commit
775b22389d
4 changed files with 21 additions and 4 deletions
|
|
@ -127,6 +127,19 @@ class MessageContent extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
);
|
||||
case MessageTypes.BadEncrypted:
|
||||
return Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: <Widget>[
|
||||
Icon(Icons.lock),
|
||||
Text(
|
||||
event.getLocalizedBody(context),
|
||||
style: TextStyle(
|
||||
color: textColor,
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
case MessageTypes.Text:
|
||||
case MessageTypes.Reply:
|
||||
case MessageTypes.Location:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue