UsersRichText spacing bug

This commit is contained in:
franzap
2025-01-05 22:55:58 -03:00
parent 1a7cc03a54
commit c7d7ba3e9b
+2 -1
View File
@@ -37,12 +37,13 @@ class UsersRichText extends StatelessWidget {
if (leadingTextSpan != null) {
spans.add(leadingTextSpan!);
spans.add(TextSpan(text: ' '));
}
usersToDisplay.forEachIndexed((i, user) {
if (user == signedInUser) {
spans.add(TextSpan(
text: leadingTextSpan != null ? ' you' : 'You',
text: leadingTextSpan != null ? 'you' : 'You',
style: TextStyle(fontWeight: FontWeight.bold)));
} else {
spans.add(