Skip to content

Commit

Permalink
Merge pull request #341 from MohamedRejeb/1.x
Browse files Browse the repository at this point in the history
Format BasicRichText
MohamedRejeb authored Sep 21, 2024
2 parents 4a735a8 + af768c5 commit b0c19d4
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
}
}
}

0 comments on commit b0c19d4

Please sign in to comment.