fix: attachments ui

This commit is contained in:
Deven Joshi
2020-10-26 16:21:35 +05:30
parent 0aba24d5a7
commit 41450706dc
+5 -2
View File
@@ -612,8 +612,10 @@ class MessageInputState extends State<MessageInput> {
} }
Widget _buildAttachments() { Widget _buildAttachments() {
return Wrap( return Container(
direction: Axis.horizontal, height: 76.0,
child: ListView(
scrollDirection: Axis.horizontal,
children: _attachments children: _attachments
.map( .map(
(attachment) => Padding( (attachment) => Padding(
@@ -644,6 +646,7 @@ class MessageInputState extends State<MessageInput> {
), ),
) )
.toList(), .toList(),
),
); );
} }