Minor design fixes

This commit is contained in:
Christian Pauly 2020-04-26 18:43:20 +02:00
parent 6c5976f4a1
commit c23c8ac957

View File

@ -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(
width: 20, alignment: Alignment.centerRight,
height: 20, child: Container(
child: CircularProgressIndicator(), width: 20,
height: 20,
child: CircularProgressIndicator(),
),
) )
: Icon(Icons.search), : Icon(Icons.search),
contentPadding: EdgeInsets.all(9), contentPadding: EdgeInsets.all(9),