Skip to content

Commit

Permalink
Crane - Fix usage of removed API
Browse files Browse the repository at this point in the history
  • Loading branch information
bentrengrove committed Jan 24, 2024
1 parent 137e627 commit 8b463be
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import androidx.compose.foundation.layout.ExperimentalLayoutApi
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.WindowInsets
import androidx.compose.foundation.layout.consumedWindowInsets
import androidx.compose.foundation.layout.consumeWindowInsets
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.navigationBars
Expand Down Expand Up @@ -83,7 +83,7 @@ fun Calendar(
}

LazyColumn(
modifier = modifier.consumedWindowInsets(contentPadding),
modifier = modifier.consumeWindowInsets(contentPadding),
contentPadding = contentPadding
) {
calendarState.listMonths.forEach { month ->
Expand Down

0 comments on commit 8b463be

Please sign in to comment.