chore: follow up threads
This commit is contained in:
parent
01636cae8f
commit
36e875aede
1 changed files with 2 additions and 2 deletions
|
|
@ -878,7 +878,7 @@ class Message extends StatelessWidget {
|
||||||
child: threadChildren.isEmpty
|
child: threadChildren.isEmpty
|
||||||
? const SizedBox.shrink()
|
? const SizedBox.shrink()
|
||||||
: Padding(
|
: Padding(
|
||||||
padding: const EdgeInsets.only(top: 2.0, bottom: 4.0),
|
padding: const EdgeInsets.only(top: 1.0, bottom: 4.0),
|
||||||
child: ConstrainedBox(
|
child: ConstrainedBox(
|
||||||
constraints: const BoxConstraints(
|
constraints: const BoxConstraints(
|
||||||
maxWidth: 400,
|
maxWidth: 400,
|
||||||
|
|
@ -891,7 +891,7 @@ class Message extends StatelessWidget {
|
||||||
onPressed: () => enterThread(event.eventId),
|
onPressed: () => enterThread(event.eventId),
|
||||||
icon: const Icon(Icons.message),
|
icon: const Icon(Icons.message),
|
||||||
label: Text(
|
label: Text(
|
||||||
'${L10n.of(context).countReplies(threadChildren.length)} | ${threadChildren.last.calcLocalizedBodyFallback(
|
'${L10n.of(context).countReplies(threadChildren.length)} | ${threadChildren.first.calcLocalizedBodyFallback(
|
||||||
MatrixLocals(L10n.of(context)),
|
MatrixLocals(L10n.of(context)),
|
||||||
withSenderNamePrefix: true,
|
withSenderNamePrefix: true,
|
||||||
)}',
|
)}',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue