diff --git a/lib/views/chat.dart b/lib/views/chat.dart index 721f69d3..ad579584 100644 --- a/lib/views/chat.dart +++ b/lib/views/chat.dart @@ -214,7 +214,8 @@ class _ChatState extends State { 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(), diff --git a/pubspec.lock b/pubspec.lock index 0f8e323e..dad42672 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -82,8 +82,8 @@ packages: dependency: "direct main" description: path: "." - ref: "920d7144ecd32b8d1077abbfec9f7552362e42a8" - resolved-ref: "920d7144ecd32b8d1077abbfec9f7552362e42a8" + ref: c78330ea58c36eec197803eb461681d84fa50f42 + resolved-ref: c78330ea58c36eec197803eb461681d84fa50f42 url: "https://gitlab.com/famedly/famedlysdk.git" source: git version: "0.0.1" diff --git a/pubspec.yaml b/pubspec.yaml index d40e313d..be1be5a8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -27,7 +27,7 @@ dependencies: famedlysdk: git: url: https://gitlab.com/famedly/famedlysdk.git - ref: 920d7144ecd32b8d1077abbfec9f7552362e42a8 + ref: c78330ea58c36eec197803eb461681d84fa50f42 localstorage: ^3.0.1+4 bubble: ^1.1.9+1