Minor fixes

This commit is contained in:
Christian Pauly 2020-01-03 14:35:12 +01:00
commit 1bd913c35d
3 changed files with 5 additions and 4 deletions

View file

@ -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(),