+23
-23
@@ -400,30 +400,30 @@ class _MessageWidgetState extends State<MessageWidget> {
|
|||||||
),
|
),
|
||||||
color: _getBackgroundColor(),
|
color: _getBackgroundColor(),
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
onLongPress: () =>
|
onLongPress: () =>
|
||||||
onLongPress(context),
|
onLongPress(context),
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: EdgeInsets.all(
|
padding: EdgeInsets.all(
|
||||||
hasFiles ? 2.0 : 0.0),
|
hasFiles ? 2.0 : 0.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment:
|
crossAxisAlignment:
|
||||||
CrossAxisAlignment
|
CrossAxisAlignment
|
||||||
.start,
|
.start,
|
||||||
mainAxisSize:
|
mainAxisSize:
|
||||||
MainAxisSize.min,
|
MainAxisSize.min,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
if (_hasQuotedMessage)
|
if (_hasQuotedMessage)
|
||||||
_buildQuotedMessage(
|
_buildQuotedMessage(
|
||||||
isMyMessage),
|
isMyMessage),
|
||||||
..._parseAttachments(
|
..._parseAttachments(
|
||||||
context),
|
|
||||||
if (widget.message.text
|
|
||||||
.trim()
|
|
||||||
.isNotEmpty &&
|
|
||||||
!isGiphy)
|
|
||||||
_buildTextBubble(
|
|
||||||
context),
|
context),
|
||||||
],
|
if (widget.message.text
|
||||||
|
.trim()
|
||||||
|
.isNotEmpty &&
|
||||||
|
!isGiphy)
|
||||||
|
_buildTextBubble(
|
||||||
|
context),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user