mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 08:55:12 +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,
|
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,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue