Skip to content

Commit

Permalink
Remove unwanted modifier placement from PackageCard
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomazFB committed Dec 12, 2024
1 parent a1372b2 commit a3b1fd8
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ private fun LabelCreationScreenWithBottomSheet(
.padding(start = 4.dp, end = 8.dp)
)
PackageCard(
modifier = Modifier.padding(16.dp),
packageSelectionState = packageSelectionState,
onSelectPackageClick = onSelectPackageClick
)
Expand Down Expand Up @@ -320,7 +319,6 @@ internal fun HazmatCard(

@Composable
private fun PackageCard(
modifier: Modifier = Modifier,
packageSelectionState: PackageSelectionState,
onSelectPackageClick: () -> Unit
) {
Expand Down Expand Up @@ -497,7 +495,6 @@ private fun HazmatCardPreview() {
private fun PackageNotSelectedPreview() {
WooThemeWithBackground {
PackageCard(
modifier = Modifier.padding(16.dp),
packageSelectionState = NotSelected,
onSelectPackageClick = {}
)
Expand All @@ -509,7 +506,6 @@ private fun PackageNotSelectedPreview() {
private fun PackageSelectedPreview() {
WooThemeWithBackground {
PackageCard(
modifier = Modifier.padding(16.dp),
packageSelectionState = DataAvailable(
selectedPackage = PackageData(
name = "Package 1",
Expand Down

0 comments on commit a3b1fd8

Please sign in to comment.