[MessageWidget] Minor condition fix

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-01-15 13:35:08 +05:30
parent 4e6fbc8d2e
commit fdb56992c1
+1 -1
View File
@@ -922,7 +922,7 @@ class _MessageWidgetState extends State<MessageWidget> {
);
Widget _buildTextBubble() {
if (widget.message.text.trim().isNotEmpty) return Offstage();
if (widget.message.text.trim().isEmpty) return Offstage();
return Transform(
transform: Matrix4.rotationY(widget.reverse ? pi : 0),
alignment: Alignment.center,