This is due to using a fixed font size:
|
VStack(alignment: .leading, spacing: 4) { |
|
if params.showUsername, !message.user.isCurrentUser { |
|
Text(message.user.name) |
|
.font(.system(size: 12, weight: .bold)) |
Note that the user name shown in replies has a scalable font:
|
VStack(alignment: .leading, spacing: 0) { |
|
Text(message.user.name) |
|
.fontWeight(.semibold) |
This is due to using a fixed font size:
Chat/Sources/ExyteChat/Views/MessageView/MessageView.swift
Lines 151 to 154 in 7ed3660
Note that the user name shown in replies has a scalable font:
Chat/Sources/ExyteChat/Views/MessageView/MessageView.swift
Lines 191 to 193 in 7ed3660