feat: render bio in profile sheet
Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
parent
7894364d84
commit
baeda794f8
|
|
@ -318,11 +318,7 @@ fun UserInfoSheet(
|
||||||
Text(stringResource(R.string.user_info_sheet_category_bio))
|
Text(stringResource(R.string.user_info_sheet_category_bio))
|
||||||
},
|
},
|
||||||
contentPreview = {
|
contentPreview = {
|
||||||
Text(
|
RichMarkdown(input = profile?.content!!)
|
||||||
text = profile?.content!!,
|
|
||||||
maxLines = 4,
|
|
||||||
overflow = TextOverflow.Ellipsis
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
SelectionContainer(modifier = Modifier.verticalScroll(rememberScrollState())) {
|
SelectionContainer(modifier = Modifier.verticalScroll(rememberScrollState())) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue