Фикс галочки в сайдбаре
All checks were successful
Android Kernel Build / build (push) Successful in 1h6m55s

This commit is contained in:
2026-03-19 07:21:22 +05:00
parent 581a44b270
commit 75d0f4726b

View File

@@ -928,30 +928,27 @@ 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 =
Modifier.padding(start = 2.dp)
.alignBy { (it.measuredHeight * 0.78f).toInt() }
) {
VerifiedBadge( VerifiedBadge(
verified = if (accountVerified > 0) accountVerified else 1, verified = if (accountVerified > 0) accountVerified else 1,
size = 15, size = 15,
modifier = Modifier.offset(y = 1.dp),
isDarkTheme = isDarkTheme,
badgeTint = if (isDarkTheme) PrimaryBlue else Color.White badgeTint = if (isDarkTheme) PrimaryBlue else Color.White
) )
} }
} }
} }
}
// Username // Username
if (accountUsername.isNotEmpty()) { if (accountUsername.isNotEmpty()) {