chore: Follow up design

pull/1455/head
krille-chan 4 months ago
parent 133e7ab955
commit 6b4ed7bdc8
No known key found for this signature in database

@ -51,7 +51,7 @@ class ChatEventList extends StatelessWidget {
child: ListView.custom(
padding: EdgeInsets.only(
top: 16,
bottom: 0,
bottom: 8,
left: horizontalPadding,
right: horizontalPadding,
),

@ -290,15 +290,14 @@ class ChatView extends StatelessWidget {
child: ChatEventList(controller: controller),
),
),
if (controller.showScrollDownButton)
Divider(
height: 1,
color: theme.dividerColor,
),
if (controller.room.canSendDefaultMessages &&
controller.room.membership == Membership.join)
Container(
margin: EdgeInsets.all(bottomSheetPadding),
margin: EdgeInsets.only(
bottom: bottomSheetPadding,
left: bottomSheetPadding,
right: bottomSheetPadding,
),
constraints: const BoxConstraints(
maxWidth: FluffyThemes.columnWidth * 2.5,
),

@ -339,7 +339,7 @@ class ChatListItem extends StatelessWidget {
: snapshot.data ??
L10n.of(context).emptyChat,
softWrap: false,
maxLines: 1,
maxLines: room.hasNewMessages ? 2 : 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(
fontWeight: unread || room.hasNewMessages

Loading…
Cancel
Save