Don't display username if display name is available.

This commit is contained in:
Vitor Pamplona
2023-08-14 23:06:18 -04:00
parent d664d9ff19
commit 77bd646b1d

View File

@@ -134,16 +134,18 @@ private fun UserAndUsernameDisplay(
text = bestDisplayName,
tags = tags,
fontWeight = fontWeight,
maxLines = 1
maxLines = 1,
modifier = modifier
)
/*
CreateTextWithEmoji(
text = remember { "@$bestUserName" },
tags = tags,
color = MaterialTheme.colors.placeholderText,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
modifier = modifier
)
)*/
if (showPlayButton) {
Spacer(StdHorzSpacer)
DrawPlayName(bestDisplayName)