Skip to content

Commit

Permalink
Fix incorrect position for checkbox inside WooShippingCustomsFormScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomazFB committed Jan 30, 2025
1 parent c5bbfa5 commit 1a22e76
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,17 @@ fun WooShippingCustomsFormScreen(
) {
Text(
text = stringResource(id = R.string.woo_shipping_labels_customs_return_to_sender_label),
modifier = modifier.align(Alignment.CenterVertically)
modifier = modifier
.align(Alignment.CenterVertically)
.weight(1f)
)
Checkbox(
checked = returnToSenderChecked,
onCheckedChange = onReturnToSenderChanged,
colors = CheckboxDefaults.colors(
checkedColor = MaterialTheme.colors.primary,
uncheckedColor = MaterialTheme.colors.onSurface
),
)
)
}
}
Expand Down

0 comments on commit 1a22e76

Please sign in to comment.