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,
|
color: theme.colorScheme.primary,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Spacer(),
|
if (info.latest case final latest?)
|
||||||
if (info.latest case final latest?) ...[
|
Expanded(
|
||||||
Text(
|
child: Row(
|
||||||
"Last active",
|
mainAxisAlignment: .end,
|
||||||
style: theme.textTheme.labelSmall?.copyWith(
|
spacing: 4,
|
||||||
color: Colors.grey,
|
children: [
|
||||||
|
Flexible(
|
||||||
|
child: Text(
|
||||||
|
"Last active:",
|
||||||
|
maxLines: 1,
|
||||||
|
overflow: .ellipsis,
|
||||||
|
style: theme.textTheme.labelSmall
|
||||||
|
?.copyWith(color: Colors.grey),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Timestamp(latest.timestamp),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
),
|
)
|
||||||
Timestamp(latest.timestamp),
|
else
|
||||||
],
|
Spacer(),
|
||||||
Icon(
|
Icon(
|
||||||
Icons.chevron_right,
|
Icons.chevron_right,
|
||||||
size: 16,
|
size: 16,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue