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))
|
Text(stringResource(R.string.user_info_sheet_add_friend))
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
|
|
||||||
Row(
|
Row(
|
||||||
horizontalArrangement = Arrangement.spacedBy(8.dp, alignment = Alignment.Start),
|
horizontalArrangement = Arrangement.spacedBy(
|
||||||
|
8.dp,
|
||||||
|
alignment = Alignment.Start
|
||||||
|
),
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.animateContentSize()
|
.animateContentSize()
|
||||||
|
|
@ -116,6 +118,7 @@ fun UserButtons(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
"User" -> {
|
"User" -> {
|
||||||
Button(
|
Button(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue