use tabular figures for chat message timestamps
This commit is contained in:
parent
b9dae5df88
commit
4f28408be6
1 changed files with 8 additions and 2 deletions
|
|
@ -146,7 +146,10 @@ class IRCMessage {
|
|||
span.add(
|
||||
TextSpan(
|
||||
text: '${DateFormat.Hm().format(parsedTime)} ',
|
||||
style: style?.copyWith(color: style.color?.withValues(alpha: 0.5)),
|
||||
style: style?.copyWith(
|
||||
color: style.color?.withValues(alpha: 0.5),
|
||||
fontFeatures: [FontFeature.tabularFigures()],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
@ -155,7 +158,10 @@ class IRCMessage {
|
|||
span.add(
|
||||
TextSpan(
|
||||
text: '${DateFormat('h:mm').format(parsedTime)} ',
|
||||
style: style?.copyWith(color: style.color?.withValues(alpha: 0.5)),
|
||||
style: style?.copyWith(
|
||||
color: style.color?.withValues(alpha: 0.5),
|
||||
fontFeatures: [FontFeature.tabularFigures()],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue