fix padding

This commit is contained in:
Salvatore Giordano
2020-11-05 10:50:48 +01:00
parent 4d5ae15bfb
commit 16b199c91c
2 changed files with 4 additions and 16 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ class GiphyAttachment extends StatelessWidget {
), ),
), ),
Padding( Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0), padding: const EdgeInsets.only(top: 8.0),
child: Row( child: Row(
children: [ children: [
Row( Row(
+3 -15
View File
@@ -293,8 +293,9 @@ class _MessageWidgetState extends State<MessageWidget> {
children: <Widget>[ children: <Widget>[
..._parseAttachments(context), ..._parseAttachments(context),
if (widget.message.text if (widget.message.text
.trim() .trim()
.isNotEmpty) .isNotEmpty &&
!isGiphy)
_buildTextBubble(context), _buildTextBubble(context),
], ],
), ),
@@ -314,19 +315,6 @@ class _MessageWidgetState extends State<MessageWidget> {
.reactionsBorderColor, .reactionsBorderColor,
), ),
), ),
)
: Column(
crossAxisAlignment:
CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min,
children: <Widget>[
..._parseAttachments(context),
if (widget.message.text
.trim()
.isNotEmpty &&
!isGiphy)
_buildTextBubble(context),
],
), ),
), ),
], ],