This commit is contained in:
Benoit Marty 2023-08-29 16:10:02 +02:00
parent ccff1d8137
commit 506336401a

View file

@ -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,
) )
} }