Skip to content

Commit

Permalink
Format BasicRichText
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedRejeb committed Sep 21, 2024
1 parent 4a735a8 commit af768c5
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ public fun BasicRichText(
val position = event.changes.first().position
val isLink = state.isLink(position)

if (isLink) pointerIcon.value = PointerIcon.Hand
else pointerIcon.value = PointerIcon.Default
pointerIcon.value =
if (isLink)
PointerIcon.Hand
else
PointerIcon.Default
}
}
}
Expand Down

0 comments on commit af768c5

Please sign in to comment.