fix: issue in which block quotes look like embeds

Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
Infi 2024-02-12 23:15:31 +01:00
parent 8a3e176f76
commit 6d11bd6d4e
1 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@ import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.material3.LocalContentColor
import androidx.compose.material3.LocalTextStyle
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.surfaceColorAtElevation
@ -108,7 +107,7 @@ fun MarkdownTree(node: AstNode) {
.width(4.dp)
.fillMaxHeight()
.background(
Brush.solidColor(LocalContentColor.current)
Brush.solidColor(MaterialTheme.colorScheme.surfaceVariant)
)
)