Skip to content

Commit

Permalink
refactor: Rename CustomShapes variables
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Oct 18, 2024
1 parent cf69765 commit 2d1977c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fun SharpRippleButton(
onClick = onClick,
),
colors = colors,
shape = CustomShapes.None,
shape = CustomShapes.none,
onClick = onClick,
content = content,
contentPadding = PaddingValues(0.dp),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2d1977c

Please sign in to comment.