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

(cherry picked from commit b8af1621b52e3c2a47d9ed4f40051413e51b238b)
This commit is contained in:
Ivan Iskandar 2023-06-23 08:50:18 +07:00 committed by Jobobby04
parent c0088f9e5e
commit d00bf25149
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,
) {