fix: attachments ui
This commit is contained in:
@@ -252,6 +252,10 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
child: Center(
|
child: Center(
|
||||||
child: LimitedBox(
|
child: LimitedBox(
|
||||||
maxHeight: widget.maxHeight,
|
maxHeight: widget.maxHeight,
|
||||||
|
child: Container(
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
borderRadius: BorderRadius.circular(8.0),
|
||||||
|
),
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
@@ -344,6 +348,7 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -592,8 +597,8 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Widget _buildAttachments() {
|
Widget _buildAttachments() {
|
||||||
return ListView(
|
return Wrap(
|
||||||
scrollDirection: Axis.horizontal,
|
direction: Axis.horizontal,
|
||||||
children: _attachments
|
children: _attachments
|
||||||
.map(
|
.map(
|
||||||
(attachment) => Padding(
|
(attachment) => Padding(
|
||||||
|
|||||||
Reference in New Issue
Block a user