From c23c8ac95766af4e18473f079b697ebf580f001f Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 26 Apr 2020 18:43:20 +0200 Subject: [PATCH] Minor design fixes --- lib/views/chat_list.dart | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/lib/views/chat_list.dart b/lib/views/chat_list.dart index 64284f1..bb32816 100644 --- a/lib/views/chat_list.dart +++ b/lib/views/chat_list.dart @@ -281,11 +281,12 @@ class _ChatListState extends State { ), ), appBar: AppBar( - elevation: 0, - titleSpacing: 6, + elevation: Matrix.of(context).client.statusList.isEmpty ? null : 0, + titleSpacing: 0, title: Container( padding: EdgeInsets.all(8), height: 42, + margin: EdgeInsets.only(right: 8), decoration: BoxDecoration( color: Theme.of(context).secondaryHeaderColor, borderRadius: BorderRadius.circular(90), @@ -296,9 +297,12 @@ class _ChatListState extends State { decoration: InputDecoration( suffixIcon: loadingPublicRooms ? Container( - width: 20, - height: 20, - child: CircularProgressIndicator(), + alignment: Alignment.centerRight, + child: Container( + width: 20, + height: 20, + child: CircularProgressIndicator(), + ), ) : Icon(Icons.search), contentPadding: EdgeInsets.all(9),