fix: Search bar
This commit is contained in:
parent
6bf25b709f
commit
eca25de50b
|
@ -300,9 +300,9 @@ class _ChatListState extends State<ChatList> {
|
||||||
titleSpacing: 0,
|
titleSpacing: 0,
|
||||||
title: selectMode == SelectMode.share
|
title: selectMode == SelectMode.share
|
||||||
? Text(L10n.of(context).share)
|
? Text(L10n.of(context).share)
|
||||||
: Padding(
|
: Container(
|
||||||
padding:
|
height: 40,
|
||||||
EdgeInsets.only(top: 8, bottom: 8, right: 8),
|
padding: EdgeInsets.only(right: 8),
|
||||||
child: Material(
|
child: Material(
|
||||||
color: Theme.of(context).secondaryHeaderColor,
|
color: Theme.of(context).secondaryHeaderColor,
|
||||||
borderRadius: BorderRadius.circular(32),
|
borderRadius: BorderRadius.circular(32),
|
||||||
|
@ -311,9 +311,14 @@ class _ChatListState extends State<ChatList> {
|
||||||
controller: searchController,
|
controller: searchController,
|
||||||
focusNode: _searchFocusNode,
|
focusNode: _searchFocusNode,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
contentPadding: EdgeInsets.symmetric(
|
contentPadding: EdgeInsets.only(
|
||||||
vertical: 9, horizontal: 16),
|
top: 8,
|
||||||
border: InputBorder.none,
|
bottom: 8,
|
||||||
|
left: 16,
|
||||||
|
),
|
||||||
|
border: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.circular(32),
|
||||||
|
),
|
||||||
hintText: L10n.of(context).searchForAChat,
|
hintText: L10n.of(context).searchForAChat,
|
||||||
suffixIcon: searchMode
|
suffixIcon: searchMode
|
||||||
? IconButton(
|
? IconButton(
|
||||||
|
|
Loading…
Reference in a new issue