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)