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
|
||||
? const SizedBox.shrink()
|
||||
: Padding(
|
||||
padding: const EdgeInsets.only(top: 2.0, bottom: 4.0),
|
||||
padding: const EdgeInsets.only(top: 1.0, bottom: 4.0),
|
||||
child: ConstrainedBox(
|
||||
constraints: const BoxConstraints(
|
||||
maxWidth: 400,
|
||||
|
|
@ -891,7 +891,7 @@ class Message extends StatelessWidget {
|
|||
onPressed: () => enterThread(event.eventId),
|
||||
icon: const Icon(Icons.message),
|
||||
label: Text(
|
||||
'${L10n.of(context).countReplies(threadChildren.length)} | ${threadChildren.last.calcLocalizedBodyFallback(
|
||||
'${L10n.of(context).countReplies(threadChildren.length)} | ${threadChildren.first.calcLocalizedBodyFallback(
|
||||
MatrixLocals(L10n.of(context)),
|
||||
withSenderNamePrefix: true,
|
||||
)}',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue