Фикс галочки в сайдбаре
All checks were successful
Android Kernel Build / build (push) Successful in 1h6m55s
All checks were successful
Android Kernel Build / build (push) Successful in 1h6m55s
This commit is contained in:
@@ -928,27 +928,24 @@ fun ChatsListScreen(
|
|||||||
// Display name
|
// Display name
|
||||||
if (accountName.isNotEmpty()) {
|
if (accountName.isNotEmpty()) {
|
||||||
Row(
|
Row(
|
||||||
horizontalArrangement = Arrangement.Start
|
horizontalArrangement = Arrangement.Start,
|
||||||
|
verticalAlignment = Alignment.CenterVertically
|
||||||
) {
|
) {
|
||||||
Text(
|
Text(
|
||||||
text = accountName,
|
text = accountName,
|
||||||
fontSize = 15.sp,
|
fontSize = 15.sp,
|
||||||
fontWeight = FontWeight.Bold,
|
fontWeight = FontWeight.Bold,
|
||||||
color = Color.White,
|
color = Color.White
|
||||||
modifier = Modifier.alignByBaseline()
|
|
||||||
)
|
)
|
||||||
if (accountVerified > 0 || isRosettaOfficial || isFreddyOfficial) {
|
if (accountVerified > 0 || isRosettaOfficial || isFreddyOfficial) {
|
||||||
Box(
|
Spacer(modifier = Modifier.width(4.dp))
|
||||||
modifier =
|
VerifiedBadge(
|
||||||
Modifier.padding(start = 2.dp)
|
verified = if (accountVerified > 0) accountVerified else 1,
|
||||||
.alignBy { (it.measuredHeight * 0.78f).toInt() }
|
size = 15,
|
||||||
) {
|
modifier = Modifier.offset(y = 1.dp),
|
||||||
VerifiedBadge(
|
isDarkTheme = isDarkTheme,
|
||||||
verified = if (accountVerified > 0) accountVerified else 1,
|
badgeTint = if (isDarkTheme) PrimaryBlue else Color.White
|
||||||
size = 15,
|
)
|
||||||
badgeTint = if (isDarkTheme) PrimaryBlue else Color.White
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user