Update Compose BOM v2023.06.00-alpha01 (#9628)

This commit is contained in:
Ivan Iskandar 2023-06-23 08:50:18 +07:00 committed by GitHub
parent 4a75f82a6f
commit b8af1621b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
[versions]
compiler = "1.4.7"
compose-bom = "2023.04.00-beta02"
accompanist = "0.31.2-alpha"
compose-bom = "2023.06.00-alpha01"
accompanist = "0.31.4-beta"
[libraries]
activity = "androidx.activity:activity-compose:1.7.2"

View File

@ -30,7 +30,8 @@ fun HorizontalPager(
reverseLayout: Boolean = false,
key: ((index: Int) -> Any)? = null,
pageNestedScrollConnection: NestedScrollConnection = PagerDefaults.pageNestedScrollConnection(
Orientation.Horizontal,
state = state,
orientation = Orientation.Horizontal,
),
pageContent: @Composable PagerScope.(page: Int) -> Unit,
) {