diff --git a/calendar/src/commonMain/kotlin/in/procyk/compose/calendar/header/DefaultMonthHeader.kt b/calendar/src/commonMain/kotlin/in/procyk/compose/calendar/header/DefaultMonthHeader.kt index 9dd5293..5810fdf 100644 --- a/calendar/src/commonMain/kotlin/in/procyk/compose/calendar/header/DefaultMonthHeader.kt +++ b/calendar/src/commonMain/kotlin/in/procyk/compose/calendar/header/DefaultMonthHeader.kt @@ -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) @@ -65,7 +65,7 @@ fun DefaultMonthHeader( maxLines = 1, overflow = TextOverflow.Ellipsis ) - Spacer(modifier.weight(1f)) + Spacer(Modifier.weight(1f)) IncrementButton(monthState = monthState) } } diff --git a/calendar/src/commonMain/kotlin/in/procyk/compose/calendar/header/DefaultWeekHeader.kt b/calendar/src/commonMain/kotlin/in/procyk/compose/calendar/header/DefaultWeekHeader.kt index 85da82d..067fc1b 100644 --- a/calendar/src/commonMain/kotlin/in/procyk/compose/calendar/header/DefaultWeekHeader.kt +++ b/calendar/src/commonMain/kotlin/in/procyk/compose/calendar/header/DefaultWeekHeader.kt @@ -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) @@ -65,7 +65,7 @@ fun DefaultWeekHeader( maxLines = 1, overflow = TextOverflow.Ellipsis ) - Spacer(modifier.weight(1f)) + Spacer(Modifier.weight(1f)) IncrementButton(monthState = weekState) } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7923f2d..6541018 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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"