Minor design fixes
This commit is contained in:
parent
6c5976f4a1
commit
c23c8ac957
|
@ -281,11 +281,12 @@ class _ChatListState extends State<ChatList> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
elevation: 0,
|
elevation: Matrix.of(context).client.statusList.isEmpty ? null : 0,
|
||||||
titleSpacing: 6,
|
titleSpacing: 0,
|
||||||
title: Container(
|
title: Container(
|
||||||
padding: EdgeInsets.all(8),
|
padding: EdgeInsets.all(8),
|
||||||
height: 42,
|
height: 42,
|
||||||
|
margin: EdgeInsets.only(right: 8),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Theme.of(context).secondaryHeaderColor,
|
color: Theme.of(context).secondaryHeaderColor,
|
||||||
borderRadius: BorderRadius.circular(90),
|
borderRadius: BorderRadius.circular(90),
|
||||||
|
@ -296,9 +297,12 @@ class _ChatListState extends State<ChatList> {
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
suffixIcon: loadingPublicRooms
|
suffixIcon: loadingPublicRooms
|
||||||
? Container(
|
? Container(
|
||||||
|
alignment: Alignment.centerRight,
|
||||||
|
child: Container(
|
||||||
width: 20,
|
width: 20,
|
||||||
height: 20,
|
height: 20,
|
||||||
child: CircularProgressIndicator(),
|
child: CircularProgressIndicator(),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
: Icon(Icons.search),
|
: Icon(Icons.search),
|
||||||
contentPadding: EdgeInsets.all(9),
|
contentPadding: EdgeInsets.all(9),
|
||||||
|
|
Loading…
Reference in a new issue