Skip to content

Commit

Permalink
feat: Add style to phone number
Browse files Browse the repository at this point in the history
  • Loading branch information
kongwoojin committed Jun 8, 2024
1 parent 5d8477a commit ac55fcd
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,14 @@ fun HtmlView(
start = length + offset.first,
end = length + offset.last
)
addStyle(
SpanStyle(
color = MaterialTheme.koreatechColorPalette.hyperLink,
textDecoration = TextDecoration.Underline
),
length + offset.first,
length + offset.last
)
}
val emailOffsets = extractAllEmailOffsets(text)

Expand Down

0 comments on commit ac55fcd

Please sign in to comment.