fix(messageslist): do not style the space after the author name
This commit is contained in:
parent
8acb19a2ff
commit
dae8467a58
1 changed files with 2 additions and 1 deletions
|
|
@ -475,7 +475,8 @@ func (ml *Model) drawAuthor(builder *richtext.Builder, message discord.Message,
|
|||
}
|
||||
|
||||
style := baseStyle.Foreground(foreground).Bold(true)
|
||||
builder.Write(name+" ", style)
|
||||
builder.Write(name, style)
|
||||
builder.Write(" ", baseStyle)
|
||||
}
|
||||
|
||||
func (ml *Model) memberForMessage(message discord.Message) *discord.Member {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue