Skip to content

Commit f976938

Browse files
committed
Use proportionalLetterSpacing.
Signed-off-by: Zixuan James Li <[email protected]>
1 parent a856745 commit f976938

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lib/widgets/message_list.dart

+6-4
Original file line numberDiff line numberDiff line change
@@ -1286,10 +1286,12 @@ class MessageWithPossibleSender extends StatelessWidget {
12861286
ReactionChipsList(messageId: message.id, reactions: message.reactions!),
12871287
if (editStateText != null)
12881288
Text(editStateText, textAlign: TextAlign.end,
1289-
style: TextStyle(
1290-
color: messageListTheme.editStateLabel,
1291-
fontSize: 12,
1292-
height: (12 / 12))),
1289+
style: TextStyle(
1290+
color: messageListTheme.editStateLabel,
1291+
fontSize: 12,
1292+
height: (12 / 12),
1293+
letterSpacing: proportionalLetterSpacing(
1294+
context, 0.05, baseFontSize: 12))),
12931295
])),
12941296
SizedBox(width: 16,
12951297
child: message.flags.contains(MessageFlag.starred)

0 commit comments

Comments
 (0)