mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-09 21:52:32 +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,
|
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)
|
||||||
|
Reference in New Issue
Block a user