Фикс галочки в сайдбаре
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
|
||||
if (accountName.isNotEmpty()) {
|
||||
Row(
|
||||
horizontalArrangement = Arrangement.Start
|
||||
horizontalArrangement = Arrangement.Start,
|
||||
verticalAlignment = Alignment.CenterVertically
|
||||
) {
|
||||
Text(
|
||||
text = accountName,
|
||||
fontSize = 15.sp,
|
||||
fontWeight = FontWeight.Bold,
|
||||
color = Color.White,
|
||||
modifier = Modifier.alignByBaseline()
|
||||
color = Color.White
|
||||
)
|
||||
if (accountVerified > 0 || isRosettaOfficial || isFreddyOfficial) {
|
||||
Box(
|
||||
modifier =
|
||||
Modifier.padding(start = 2.dp)
|
||||
.alignBy { (it.measuredHeight * 0.78f).toInt() }
|
||||
) {
|
||||
VerifiedBadge(
|
||||
verified = if (accountVerified > 0) accountVerified else 1,
|
||||
size = 15,
|
||||
badgeTint = if (isDarkTheme) PrimaryBlue else Color.White
|
||||
)
|
||||
}
|
||||
Spacer(modifier = Modifier.width(4.dp))
|
||||
VerifiedBadge(
|
||||
verified = if (accountVerified > 0) accountVerified else 1,
|
||||
size = 15,
|
||||
modifier = Modifier.offset(y = 1.dp),
|
||||
isDarkTheme = isDarkTheme,
|
||||
badgeTint = if (isDarkTheme) PrimaryBlue else Color.White
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user