mirror of
https://github.com/krille-chan/fluffychat
synced 2024-08-11 08:33:44 +00:00
chore: Follow up reply design
This commit is contained in:
parent
1f3d88d09c
commit
b251a6a404
2 changed files with 13 additions and 10 deletions
|
@ -224,15 +224,18 @@ class Message extends StatelessWidget {
|
|||
status: EventStatus.sent,
|
||||
originServerTs: DateTime.now(),
|
||||
);
|
||||
return InkWell(
|
||||
borderRadius: ReplyContent.borderRadius,
|
||||
onTap: () =>
|
||||
scrollToEventId(replyEvent.eventId),
|
||||
child: AbsorbPointer(
|
||||
child: ReplyContent(
|
||||
replyEvent,
|
||||
ownMessage: ownMessage,
|
||||
timeline: timeline,
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(bottom: 4.0),
|
||||
child: InkWell(
|
||||
borderRadius: ReplyContent.borderRadius,
|
||||
onTap: () =>
|
||||
scrollToEventId(replyEvent.eventId),
|
||||
child: AbsorbPointer(
|
||||
child: ReplyContent(
|
||||
replyEvent,
|
||||
ownMessage: ownMessage,
|
||||
timeline: timeline,
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
@ -38,7 +38,7 @@ class ReplyContent extends StatelessWidget {
|
|||
children: <Widget>[
|
||||
Container(
|
||||
width: 3,
|
||||
height: fontSize * 2 + 12,
|
||||
height: fontSize * 2 + 16,
|
||||
color: Theme.of(context).colorScheme.primary,
|
||||
),
|
||||
const SizedBox(width: 6),
|
||||
|
|
Loading…
Reference in a new issue