Skip to content

Commit ab983f0

Browse files
committed
msglist: Remove trailingWhitespace
This 11px whitespace can be traced back to 311d4d5 in 2022, and is not present in the Figma design. It was there to match the web design while prototyping the app.
1 parent a3c60eb commit ab983f0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/widgets/message_list.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,6 @@ class _MessageListState extends State<MessageList> with PerAccountStoreAwareStat
719719
return MessageItem(
720720
key: ValueKey(data.message.id),
721721
header: header,
722-
trailingWhitespace: 11,
723722
item: data);
724723
}
725724
}
@@ -1018,12 +1017,10 @@ class MessageItem extends StatelessWidget {
10181017
super.key,
10191018
required this.item,
10201019
required this.header,
1021-
this.trailingWhitespace,
10221020
});
10231021

10241022
final MessageListMessageBaseItem item;
10251023
final Widget header;
1026-
final double? trailingWhitespace;
10271024

10281025
@override
10291026
Widget build(BuildContext context) {
@@ -1036,7 +1033,6 @@ class MessageItem extends StatelessWidget {
10361033
switch (item) {
10371034
MessageListMessageItem() => MessageWithPossibleSender(item: item),
10381035
},
1039-
if (trailingWhitespace != null && item.isLastInBlock) SizedBox(height: trailingWhitespace!),
10401036
]));
10411037
if (item case MessageListMessageItem(:final message)) {
10421038
child = _UnreadMarker(

0 commit comments

Comments
 (0)