Minor fixes
This commit is contained in:
parent
2c98f4978b
commit
1bd913c35d
3 changed files with 5 additions and 4 deletions
|
|
@ -214,7 +214,8 @@ class _ChatState extends State<Chat> {
|
|||
SizedBox(width: 8),
|
||||
Expanded(
|
||||
child: TextField(
|
||||
maxLines: kIsWeb ? 1 : 8,
|
||||
minLines: 1,
|
||||
maxLines: kIsWeb ? 1 : null,
|
||||
keyboardType:
|
||||
kIsWeb ? TextInputType.text : TextInputType.multiline,
|
||||
onSubmitted: (t) => send(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue