From b0b2df1ca428161aa8031169c8a88200f0c16540 Mon Sep 17 00:00:00 2001 From: Kevin Boulongne Date: Mon, 21 Oct 2024 15:29:26 +0200 Subject: [PATCH] fix: Handle new names of CustomShapes --- .../infomaniak/swisstransfer/ui/components/EmailAddressChip.kt | 2 +- .../java/com/infomaniak/swisstransfer/ui/components/QrCode.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/EmailAddressChip.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/EmailAddressChip.kt index f74a3100f..492224fc5 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/EmailAddressChip.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/EmailAddressChip.kt @@ -35,7 +35,7 @@ import com.infomaniak.swisstransfer.ui.theme.SwissTransferTheme fun EmailAddressChip(text: String) { Box( modifier = Modifier - .clip(CustomShapes.Rounded) + .clip(CustomShapes.ROUNDED) .background(SwissTransferTheme.colors.emailAddressChipColor) .padding(horizontal = Margin.Small), ) { diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/QrCode.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/QrCode.kt index 46aebb7e0..be1f836ae 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/QrCode.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/QrCode.kt @@ -36,7 +36,7 @@ fun QrCode() { // TODO: Add parameter containing the QR code value, and use it. Box( modifier = Modifier .size(180.dp) - .clip(CustomShapes.small) + .clip(CustomShapes.SMALL) .background(SwissTransferTheme.colors.qrCodeBackground), contentAlignment = Alignment.Center, ) {