From 647be774738f43b025beec7eccd2c3f104834c9c Mon Sep 17 00:00:00 2001 From: Kevin Boulongne Date: Thu, 17 Oct 2024 11:36:25 +0200 Subject: [PATCH] refactor: Rename CustomShapes variables --- .../swisstransfer/ui/components/SharpRippleButton.kt | 2 +- .../com/infomaniak/swisstransfer/ui/theme/CustomShapes.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/SharpRippleButton.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/SharpRippleButton.kt index ab031bc48..9687b40be 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/SharpRippleButton.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/SharpRippleButton.kt @@ -49,7 +49,7 @@ fun SharpRippleButton( onClick = onClick, ), colors = colors, - shape = CustomShapes.None, + shape = CustomShapes.none, onClick = onClick, content = content, contentPadding = PaddingValues(0.dp), diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/theme/CustomShapes.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/theme/CustomShapes.kt index f3ad6a963..fefdb1f18 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/theme/CustomShapes.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/theme/CustomShapes.kt @@ -21,8 +21,8 @@ import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.ui.unit.dp object CustomShapes { - val None = RoundedCornerShape(0) - val Rounded = RoundedCornerShape(50) + val none = RoundedCornerShape(0) + val rounded = RoundedCornerShape(50) val extraSmall = RoundedCornerShape(4.dp) val small = RoundedCornerShape(8.dp) val medium = RoundedCornerShape(16.dp)