chore: Follow up reply design

This commit is contained in:
krille-chan 2023-12-26 16:41:02 +01:00
parent 1f3d88d09c
commit b251a6a404
No known key found for this signature in database
2 changed files with 13 additions and 10 deletions

View file

@ -224,15 +224,18 @@ class Message extends StatelessWidget {
status: EventStatus.sent, status: EventStatus.sent,
originServerTs: DateTime.now(), originServerTs: DateTime.now(),
); );
return InkWell( return Padding(
borderRadius: ReplyContent.borderRadius, padding: const EdgeInsets.only(bottom: 4.0),
onTap: () => child: InkWell(
scrollToEventId(replyEvent.eventId), borderRadius: ReplyContent.borderRadius,
child: AbsorbPointer( onTap: () =>
child: ReplyContent( scrollToEventId(replyEvent.eventId),
replyEvent, child: AbsorbPointer(
ownMessage: ownMessage, child: ReplyContent(
timeline: timeline, replyEvent,
ownMessage: ownMessage,
timeline: timeline,
),
), ),
), ),
); );

View file

@ -38,7 +38,7 @@ class ReplyContent extends StatelessWidget {
children: <Widget>[ children: <Widget>[
Container( Container(
width: 3, width: 3,
height: fontSize * 2 + 12, height: fontSize * 2 + 16,
color: Theme.of(context).colorScheme.primary, color: Theme.of(context).colorScheme.primary,
), ),
const SizedBox(width: 6), const SizedBox(width: 6),