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() {
return Wrap(
direction: Axis.horizontal,
return Container(
height: 76.0,
child: ListView(
scrollDirection: Axis.horizontal,
children: _attachments
.map(
(attachment) => Padding(
@@ -644,6 +646,7 @@ class MessageInputState extends State<MessageInput> {
),
)
.toList(),
),
);
}