From ae92fefde1e94b5a5be006c778cad2c0898063b5 Mon Sep 17 00:00:00 2001 From: Rafael Date: Wed, 12 Jun 2024 16:16:36 +0600 Subject: [PATCH] Fix SecondaryButton disabled state color --- .../ui/compose/components/ButtonSecondary.kt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/io/horizontalsystems/bankwallet/ui/compose/components/ButtonSecondary.kt b/app/src/main/java/io/horizontalsystems/bankwallet/ui/compose/components/ButtonSecondary.kt index b5724aebf1..d935651b73 100644 --- a/app/src/main/java/io/horizontalsystems/bankwallet/ui/compose/components/ButtonSecondary.kt +++ b/app/src/main/java/io/horizontalsystems/bankwallet/ui/compose/components/ButtonSecondary.kt @@ -146,10 +146,11 @@ fun ButtonSecondaryTransparent( Row ( verticalAlignment = Alignment.CenterVertically ){ - captionSB_leah( + Text( text = title, maxLines = 1, - overflow = TextOverflow.Ellipsis + style = ComposeAppTheme.typography.captionSB, + overflow = TextOverflow.Ellipsis, ) Icon( modifier = Modifier.padding(start = 4.dp), @@ -159,10 +160,11 @@ fun ButtonSecondaryTransparent( ) } } else { - captionSB_leah( + Text( text = title, maxLines = 1, - overflow = TextOverflow.Ellipsis + style = ComposeAppTheme.typography.captionSB, + overflow = TextOverflow.Ellipsis, ) } },