@@ -899,22 +899,22 @@ class MessageWithPossibleSender extends StatelessWidget {
899
899
onLongPress: () => showMessageActionSheet (context: context, message: message),
900
900
child: Padding (
901
901
padding: const EdgeInsets .symmetric (vertical: 4 ),
902
- child: Row (crossAxisAlignment : CrossAxisAlignment .start, children: [
903
- const SizedBox (width : 16 ),
904
- Expanded (
905
- child: Column (
906
- crossAxisAlignment: CrossAxisAlignment .stretch,
907
- children : [
908
- if (senderRow != null ) ...[
909
- const SizedBox (height : 2 ),
910
- senderRow ,
911
- const SizedBox (height : 4 ),
912
- ] ,
913
- MessageContent ( message: message, content : item.content),
914
- if (( message.reactions? .total ?? 0 ) > 0 )
915
- ReactionChipsList (messageId : message.id, reactions : message.reactions ! )
916
- ]) ),
917
- const SizedBox (width : 16 ),
902
+ child: Column ( children: [
903
+ if (senderRow != null )
904
+ Padding (padding : const EdgeInsets . fromLTRB ( 16 , 2 , 16 , 4 ),
905
+ child: senderRow),
906
+ Row ( crossAxisAlignment: CrossAxisAlignment .start, children : [
907
+ const SizedBox (width : 16 ),
908
+ Expanded (
909
+ child : Column (
910
+ crossAxisAlignment : CrossAxisAlignment .stretch ,
911
+ children : [
912
+ MessageContent (message : message, content : item.content) ,
913
+ if (( message.reactions ? .total ?? 0 ) > 0 )
914
+ ReactionChipsList (messageId : message.id, reactions: message.reactions ! )
915
+ ])),
916
+ const SizedBox (width : 16 ),
917
+ ] ),
918
918
])));
919
919
}
920
920
}
0 commit comments