mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-20 19:40:46 +02:00
Don't display username if display name is available.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user