fix: attachments ui
This commit is contained in:
@@ -189,7 +189,6 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
_buildAttachments(),
|
|
||||||
_buildTextField(context),
|
_buildTextField(context),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
@@ -258,7 +257,10 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
child: Center(
|
child: Center(
|
||||||
child: LimitedBox(
|
child: LimitedBox(
|
||||||
maxHeight: widget.maxHeight,
|
maxHeight: widget.maxHeight,
|
||||||
child: TextField(
|
child: Column(
|
||||||
|
children: [
|
||||||
|
_buildAttachments(),
|
||||||
|
TextField(
|
||||||
key: Key('messageInputText'),
|
key: Key('messageInputText'),
|
||||||
enabled: _inputEnabled,
|
enabled: _inputEnabled,
|
||||||
minLines: null,
|
minLines: null,
|
||||||
@@ -342,6 +344,8 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
),
|
),
|
||||||
textCapitalization: TextCapitalization.sentences,
|
textCapitalization: TextCapitalization.sentences,
|
||||||
),
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user