clean up thread timestamps
This commit is contained in:
parent
a229fcc598
commit
bf8490896c
1 changed files with 20 additions and 9 deletions
|
|
@ -100,16 +100,27 @@ final class const ThreadsDrawer(
|
|||
color: theme.colorScheme.primary,
|
||||
),
|
||||
),
|
||||
Spacer(),
|
||||
if (info.latest case final latest?) ...[
|
||||
Text(
|
||||
"Last active",
|
||||
style: theme.textTheme.labelSmall?.copyWith(
|
||||
color: Colors.grey,
|
||||
if (info.latest case final latest?)
|
||||
Expanded(
|
||||
child: Row(
|
||||
mainAxisAlignment: .end,
|
||||
spacing: 4,
|
||||
children: [
|
||||
Flexible(
|
||||
child: Text(
|
||||
"Last active:",
|
||||
maxLines: 1,
|
||||
overflow: .ellipsis,
|
||||
style: theme.textTheme.labelSmall
|
||||
?.copyWith(color: Colors.grey),
|
||||
),
|
||||
),
|
||||
Timestamp(latest.timestamp),
|
||||
],
|
||||
),
|
||||
)
|
||||
else
|
||||
Spacer(),
|
||||
Icon(
|
||||
Icons.chevron_right,
|
||||
size: 16,
|
||||
|
|
|
|||
Loading…
Reference in a new issue