mirror of
https://github.com/easychen/pushdeer.git
synced 2024-11-01 08:09:19 +08:00
android: Fix #117
This commit is contained in:
parent
2b89ee699e
commit
c6caf87a0a
@ -411,7 +411,10 @@ fun MarkdownMessageItem(message: MessageEntity, requestHolder: RequestHolder) {
|
||||
CardItemWithContent {
|
||||
AndroidView(
|
||||
factory = { ctx ->
|
||||
android.widget.TextView(ctx).apply {
|
||||
android.widget.TextView(ctx)
|
||||
},
|
||||
update = { view ->
|
||||
view.apply {
|
||||
this.post {
|
||||
requestHolder.markdown.setMarkdown(
|
||||
this,
|
||||
@ -419,7 +422,8 @@ fun MarkdownMessageItem(message: MessageEntity, requestHolder: RequestHolder) {
|
||||
)
|
||||
}
|
||||
}
|
||||
}, modifier = Modifier
|
||||
},
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(16.dp)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user