From 89309ca15ee6364b013e03ba72230fb7206d0c08 Mon Sep 17 00:00:00 2001 From: Krille Date: Sat, 10 Aug 2024 10:23:41 +0200 Subject: [PATCH] chore: Follow up chatlist design --- lib/pages/chat_list/chat_list_body.dart | 4 ++-- lib/pages/chat_list/status_msg_list.dart | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/pages/chat_list/chat_list_body.dart b/lib/pages/chat_list/chat_list_body.dart index 2ce644625..27a640d6a 100644 --- a/lib/pages/chat_list/chat_list_body.dart +++ b/lib/pages/chat_list/chat_list_body.dart @@ -156,11 +156,11 @@ class ChatListViewBody extends StatelessWidget { ), if (client.rooms.isNotEmpty && !controller.isSearchMode) SizedBox( - height: 44, + height: 64, child: ListView( padding: const EdgeInsets.symmetric( horizontal: 12.0, - vertical: 6, + vertical: 16.0, ), shrinkWrap: true, scrollDirection: Axis.horizontal, diff --git a/lib/pages/chat_list/status_msg_list.dart b/lib/pages/chat_list/status_msg_list.dart index 9039f908a..217dc3933 100644 --- a/lib/pages/chat_list/status_msg_list.dart +++ b/lib/pages/chat_list/status_msg_list.dart @@ -124,10 +124,10 @@ class PresenceAvatar extends StatelessWidget { presence.userid; final statusMsg = presence.statusMsg; - final statusMsgBubbleElevation = - theme.appBarTheme.scrolledUnderElevation ?? 4; - final statusMsgBubbleShadowColor = theme.colorScheme.onSurface; - final statusMsgBubbleColor = Colors.white.withAlpha(245); + const statusMsgBubbleElevation = 6.0; + final statusMsgBubbleShadowColor = + Theme.of(context).colorScheme.surface; + final statusMsgBubbleColor = Colors.white.withOpacity(0.9); return Padding( padding: const EdgeInsets.symmetric(horizontal: 8.0), child: SizedBox(