Skip to content

Commit b2a315b

Browse files
committed
chore: move modifier to the end of the list
1 parent 80bf61e commit b2a315b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

app/src/main/java/to/bitkit/ui/screens/wallets/activity/DateRangeSelectorSheet.kt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -400,10 +400,10 @@ private fun Content(
400400

401401
// Display selected range
402402
Box(
403+
contentAlignment = Alignment.Center,
403404
modifier = Modifier
404405
.fillMaxWidth()
405-
.height(24.dp),
406-
contentAlignment = Alignment.Center
406+
.height(24.dp)
407407
) {
408408
if (startDate != null) {
409409
val startLocalDate = Instant.fromEpochMilliseconds(startDate!!)
@@ -503,7 +503,9 @@ private fun CalendarGrid(
503503
)
504504
} else {
505505
// Empty space for days outside the month
506-
Spacer(modifier = Modifier.weight(1f))
506+
Spacer(
507+
modifier = Modifier.weight(1f)
508+
)
507509
}
508510
}
509511
}
@@ -522,11 +524,11 @@ private fun CalendarDayView(
522524
modifier: Modifier = Modifier,
523525
) {
524526
Box(
527+
contentAlignment = Alignment.Center,
525528
modifier = modifier
526529
.aspectRatio(DAY_ASPECT_RATIO)
527530
.clickable(onClick = onClick)
528-
.testTag(if (isToday) "Today" else "Day-${date.dayOfMonth}"),
529-
contentAlignment = Alignment.Center
531+
.testTag(if (isToday) "Today" else "Day-${date.dayOfMonth}")
530532
) {
531533
// Background for range selection
532534
if (isSelected) {

0 commit comments

Comments
 (0)