Merge pull request #322 from believethehype/profile_longnames

Fixed long usernames in profile
This commit is contained in:
Vitor Pamplona
2023-03-29 15:51:21 -04:00
committed by GitHub

View File

@@ -430,12 +430,13 @@ private fun DrawAdditionalInfo(baseUser: User, account: Account, accountViewMode
fontSize = 25.sp
)
}
}
Row(verticalAlignment = Alignment.CenterVertically) {
user.bestUsername()?.let {
Text(
"@$it",
color = MaterialTheme.colors.onSurface.copy(alpha = 0.32f),
modifier = Modifier.padding(top = 1.dp, bottom = 1.dp, start = 5.dp)
modifier = Modifier.padding(top = 1.dp, bottom = 1.dp)
)
}
}