fix: issue in which non-bot users are shown as bots
Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
parent
ebd42b723f
commit
3a0f221356
|
|
@ -90,10 +90,12 @@ fun UserButtons(
|
|||
) {
|
||||
Text(stringResource(R.string.user_info_sheet_add_friend))
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
Row(
|
||||
horizontalArrangement = Arrangement.spacedBy(8.dp, alignment = Alignment.Start),
|
||||
horizontalArrangement = Arrangement.spacedBy(
|
||||
8.dp,
|
||||
alignment = Alignment.Start
|
||||
),
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
modifier = Modifier
|
||||
.animateContentSize()
|
||||
|
|
@ -116,6 +118,7 @@ fun UserButtons(
|
|||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
"User" -> {
|
||||
Button(
|
||||
|
|
|
|||
Loading…
Reference in New Issue