diff --git a/gradle/compose.versions.toml b/gradle/compose.versions.toml index 20cee1f33..1bb556acd 100644 --- a/gradle/compose.versions.toml +++ b/gradle/compose.versions.toml @@ -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" diff --git a/presentation-core/src/main/java/tachiyomi/presentation/core/components/Pager.kt b/presentation-core/src/main/java/tachiyomi/presentation/core/components/Pager.kt index 65802c8e6..521f988b8 100644 --- a/presentation-core/src/main/java/tachiyomi/presentation/core/components/Pager.kt +++ b/presentation-core/src/main/java/tachiyomi/presentation/core/components/Pager.kt @@ -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, ) {