Update Compose BOM v2023.06.00-alpha01 (#9628)
This commit is contained in:
parent
4a75f82a6f
commit
b8af1621b5
@ -1,7 +1,7 @@
|
|||||||
[versions]
|
[versions]
|
||||||
compiler = "1.4.7"
|
compiler = "1.4.7"
|
||||||
compose-bom = "2023.04.00-beta02"
|
compose-bom = "2023.06.00-alpha01"
|
||||||
accompanist = "0.31.2-alpha"
|
accompanist = "0.31.4-beta"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
activity = "androidx.activity:activity-compose:1.7.2"
|
activity = "androidx.activity:activity-compose:1.7.2"
|
||||||
|
@ -30,7 +30,8 @@ fun HorizontalPager(
|
|||||||
reverseLayout: Boolean = false,
|
reverseLayout: Boolean = false,
|
||||||
key: ((index: Int) -> Any)? = null,
|
key: ((index: Int) -> Any)? = null,
|
||||||
pageNestedScrollConnection: NestedScrollConnection = PagerDefaults.pageNestedScrollConnection(
|
pageNestedScrollConnection: NestedScrollConnection = PagerDefaults.pageNestedScrollConnection(
|
||||||
Orientation.Horizontal,
|
state = state,
|
||||||
|
orientation = Orientation.Horizontal,
|
||||||
),
|
),
|
||||||
pageContent: @Composable PagerScope.(page: Int) -> Unit,
|
pageContent: @Composable PagerScope.(page: Int) -> Unit,
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user