Skip to content

Commit

Permalink
Fix sort menu icon on Balance page
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelekol committed Jun 4, 2024
1 parent cf266a9 commit 3b00854
Showing 1 changed file with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,13 @@ fun ButtonSecondaryTransparent(
),
content = {
if (iconRight != null) {
Row {
Text(
title,
Row (
verticalAlignment = Alignment.CenterVertically
){
captionSB_leah(
text = title,
maxLines = 1,
style = ComposeAppTheme.typography.captionSB,
overflow = TextOverflow.Ellipsis,
overflow = TextOverflow.Ellipsis
)
Icon(
modifier = Modifier.padding(start = 4.dp),
Expand All @@ -158,7 +159,11 @@ fun ButtonSecondaryTransparent(
)
}
} else {
Text(title, maxLines = 1, overflow = TextOverflow.Ellipsis)
captionSB_leah(
text = title,
maxLines = 1,
overflow = TextOverflow.Ellipsis
)
}
},
enabled = enabled
Expand Down

0 comments on commit 3b00854

Please sign in to comment.