From 4b5746d6f52615a011013c80e5f81e514e64d395 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Wed, 24 Jun 2020 15:04:58 +0200 Subject: [PATCH] Fix app bar --- lib/views/chat_list.dart | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/lib/views/chat_list.dart b/lib/views/chat_list.dart index 6cc5f66..ef2fdf8 100644 --- a/lib/views/chat_list.dart +++ b/lib/views/chat_list.dart @@ -299,15 +299,13 @@ class _ChatListState extends State { ? Text(L10n.of(context).share) : Padding( padding: EdgeInsets.all(8), - child: Expanded( - child: TextField( - autocorrect: false, - controller: searchController, - decoration: InputDecoration( - contentPadding: EdgeInsets.all(9), - border: InputBorder.none, - hintText: L10n.of(context).searchForAChat, - ), + child: TextField( + autocorrect: false, + controller: searchController, + decoration: InputDecoration( + contentPadding: EdgeInsets.all(9), + border: InputBorder.none, + hintText: L10n.of(context).searchForAChat, ), ), ),