Skip to content

Commit

Permalink
fix modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
avan1235 committed Mar 12, 2024
1 parent 0f3d39d commit ec21d07
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fun DefaultMonthHeader(
verticalAlignment = Alignment.CenterVertically,
) {
DecrementButton(monthState = monthState)
Spacer(modifier.weight(1f))
Spacer(Modifier.weight(1f))
Text(
modifier = Modifier.testTag("MonthLabel"),
text = Month(monthState.currentMonth.month)
Expand All @@ -65,7 +65,7 @@ fun DefaultMonthHeader(
maxLines = 1,
overflow = TextOverflow.Ellipsis
)
Spacer(modifier.weight(1f))
Spacer(Modifier.weight(1f))
IncrementButton(monthState = monthState)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fun DefaultWeekHeader(
verticalAlignment = Alignment.CenterVertically,
) {
DecrementButton(weekState = weekState)
Spacer(modifier.weight(1f))
Spacer(Modifier.weight(1f))
Text(
modifier = Modifier.testTag("WeekLabel"),
text = Month(weekState.currentWeek.yearMonth.month)
Expand All @@ -65,7 +65,7 @@ fun DefaultWeekHeader(
maxLines = 1,
overflow = TextOverflow.Ellipsis
)
Spacer(modifier.weight(1f))
Spacer(Modifier.weight(1f))
IncrementButton(monthState = weekState)
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ barcodeScanning = "17.2.0"
cameraX = "1.3.0"
compose = "1.6.0-rc02"
# @keep
compose-extensions = "1.6.0-rc02.1"
compose-extensions = "1.6.0-rc02.2"
gradle-versions = "0.51.0"
# @pin
kotlin = "1.9.22"
Expand Down

0 comments on commit ec21d07

Please sign in to comment.