Skip to content

Commit 890e50a

Browse files
Fix modifiers in BookingAttendanceStatusTag
1 parent 6e3d73c commit 890e50a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WooCommerce/src/main/kotlin/com/woocommerce/android/ui/bookings/compose/BookingAttendanceStatusTag.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fun BookingAttendanceStatusTag(
3636
) {
3737
val density = LocalDensity.current
3838
var skeletonSize by remember { mutableStateOf(DpSize.Zero) }
39-
Box(modifier = Modifier) {
39+
Box(modifier = modifier) {
4040
when (attendanceUpdateStatus) {
4141
AttendanceUpdateStatus.InProgress -> {
4242
SkeletonView(
@@ -56,7 +56,7 @@ fun BookingAttendanceStatusTag(
5656
backgroundColor = state.backgroundColor(),
5757
textColor = colorResource(R.color.tagView_text),
5858
fontWeight = FontWeight.Normal,
59-
modifier = modifier
59+
modifier = Modifier
6060
.onSizeChanged {
6161
with(density) {
6262
skeletonSize = DpSize(it.width.toDp(), it.height.toDp())

0 commit comments

Comments
 (0)