This commit is contained in:
Benoit Marty
2023-08-29 16:10:02 +02:00
parent 097efc26d2
commit 24fc2e77b9
@@ -79,7 +79,9 @@ fun buildAnnotatedStringWithColoredPart(
style = SpanStyle( style = SpanStyle(
color = color, color = color,
textDecoration = if (underline) TextDecoration.Underline else null textDecoration = if (underline) TextDecoration.Underline else null
), start = startIndex, end = startIndex + coloredPart.length ),
start = startIndex,
end = startIndex + coloredPart.length,
) )
} }