Skip to content

Commit

Permalink
Fix text overflow for signal badge in Watchlist
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelekol committed Nov 8, 2024
1 parent da035cb commit cf097ad
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import io.horizontalsystems.bankwallet.ui.compose.ComposeAppTheme
Expand Down Expand Up @@ -71,6 +72,8 @@ fun BadgeText(
text = text,
color = textColor,
style = ComposeAppTheme.typography.microSB,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
)
}
}
Expand Down

0 comments on commit cf097ad

Please sign in to comment.