Skip to content

Commit

Permalink
Fix missing badge style in Explore People
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandarIlic committed Dec 3, 2024
1 parent d943b65 commit d1027be
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ private fun ExplorePersonListItem(
NostrUserText(
displayName = person.profile.userDisplayName,
internetIdentifier = person.profile.internetIdentifier,
customBadgeStyle = if (person.profile.legendaryCustomization?.customBadge == true) {
person.profile.legendaryCustomization.legendaryStyle
} else {
null
},
)
person.profile.internetIdentifier?.let {
Text(
Expand Down Expand Up @@ -234,13 +239,7 @@ private fun ExplorePersonListItem(
fontSize = 12.sp,
fontWeight = FontWeight.SemiBold,
),
onClick = {
if (isFollowed) {
onUnfollowClick()
} else {
onFollowClick()
}
},
onClick = { if (isFollowed) onUnfollowClick() else onFollowClick() },
)

FollowersIndicator(
Expand Down

0 comments on commit d1027be

Please sign in to comment.