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, text = bestDisplayName,
tags = tags, tags = tags,
fontWeight = fontWeight, fontWeight = fontWeight,
maxLines = 1 maxLines = 1,
modifier = modifier
) )
/*
CreateTextWithEmoji( CreateTextWithEmoji(
text = remember { "@$bestUserName" }, text = remember { "@$bestUserName" },
tags = tags, tags = tags,
color = MaterialTheme.colors.placeholderText, color = MaterialTheme.colors.placeholderText,
maxLines = 1, maxLines = 1,
overflow = TextOverflow.Ellipsis, overflow = TextOverflow.Ellipsis,
modifier = modifier
) )*/
if (showPlayButton) { if (showPlayButton) {
Spacer(StdHorzSpacer) Spacer(StdHorzSpacer)
DrawPlayName(bestDisplayName) DrawPlayName(bestDisplayName)