feat(ui): Display warnings for messages

This commit is contained in:
2022-10-01 17:28:29 +02:00
parent a0c7078593
commit 0327f254a2
7 changed files with 37 additions and 0 deletions

View File

@@ -105,6 +105,16 @@ class MessageBubbleBottomState extends State<MessageBubbleBottom> {
),
),
] : [],
...widget.message.isWarning() ? [
const Padding(
padding: EdgeInsets.only(left: 3),
child: Icon(
Icons.warning,
size: _bubbleBottomIconSize,
color: Colors.yellow,
),
),
] : [],
..._showCheckmark() ? [
const Padding(
padding: EdgeInsets.only(left: 3),