Fixes misalignment of some links to users in the middle of the note.
This commit is contained in:
@@ -280,12 +280,10 @@ private fun RenderUserAsClickableText(
|
||||
derivedStateOf { userState?.user?.info?.latestMetadata?.tags?.toImmutableListOfLists() }
|
||||
}
|
||||
|
||||
val addedCharts = remember(nip19) { "${nip19.additionalChars}" }
|
||||
|
||||
userDisplayName?.let {
|
||||
CreateClickableTextWithEmoji(
|
||||
clickablePart = it,
|
||||
suffix = addedCharts,
|
||||
suffix = nip19.additionalChars,
|
||||
maxLines = 1,
|
||||
route = route,
|
||||
nav = nav,
|
||||
@@ -335,6 +333,7 @@ fun CreateClickableText(
|
||||
ClickableText(
|
||||
text = text,
|
||||
maxLines = maxLines,
|
||||
style = currentStyle,
|
||||
onClick = { nav(route) },
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user