chore: Follow up chatlist design

pull/1270/head
Krille 1 year ago
parent 059522c04e
commit 89309ca15e
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -156,11 +156,11 @@ class ChatListViewBody extends StatelessWidget {
), ),
if (client.rooms.isNotEmpty && !controller.isSearchMode) if (client.rooms.isNotEmpty && !controller.isSearchMode)
SizedBox( SizedBox(
height: 44, height: 64,
child: ListView( child: ListView(
padding: const EdgeInsets.symmetric( padding: const EdgeInsets.symmetric(
horizontal: 12.0, horizontal: 12.0,
vertical: 6, vertical: 16.0,
), ),
shrinkWrap: true, shrinkWrap: true,
scrollDirection: Axis.horizontal, scrollDirection: Axis.horizontal,

@ -124,10 +124,10 @@ class PresenceAvatar extends StatelessWidget {
presence.userid; presence.userid;
final statusMsg = presence.statusMsg; final statusMsg = presence.statusMsg;
final statusMsgBubbleElevation = const statusMsgBubbleElevation = 6.0;
theme.appBarTheme.scrolledUnderElevation ?? 4; final statusMsgBubbleShadowColor =
final statusMsgBubbleShadowColor = theme.colorScheme.onSurface; Theme.of(context).colorScheme.surface;
final statusMsgBubbleColor = Colors.white.withAlpha(245); final statusMsgBubbleColor = Colors.white.withOpacity(0.9);
return Padding( return Padding(
padding: const EdgeInsets.symmetric(horizontal: 8.0), padding: const EdgeInsets.symmetric(horizontal: 8.0),
child: SizedBox( child: SizedBox(

Loading…
Cancel
Save