Skip to content

Commit

Permalink
fix: show emoji in seach result (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazzzis authored Feb 16, 2024
1 parent f1d3901 commit cac38fe
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ import com.github.whitescent.mastify.ui.component.CenterRow
import com.github.whitescent.mastify.ui.component.CircleShapeAsyncImage
import com.github.whitescent.mastify.ui.component.HeightSpacer
import com.github.whitescent.mastify.ui.component.HtmlText
import com.github.whitescent.mastify.ui.component.TextWithEmoji
import com.github.whitescent.mastify.ui.component.WidthSpacer
import com.github.whitescent.mastify.ui.component.status.LazyTimelinePagingList
import com.github.whitescent.mastify.ui.component.status.paging.PagePlaceholderType
Expand Down Expand Up @@ -118,11 +119,12 @@ fun SearchResultPager(
WidthSpacer(value = 6.dp)
Column {
Column {
Text(
TextWithEmoji(
text = it.realDisplayName,
fontSize = 16.sp,
fontWeight = FontWeight.SemiBold,
color = AppTheme.colors.primaryContent
color = AppTheme.colors.primaryContent,
emojis = it.emojis,
)
Text(
text = it.fullname,
Expand Down

0 comments on commit cac38fe

Please sign in to comment.