Parcourir la source

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

Ivan Iskandar il y a 1 an
Parent
commit
b8af1621b5

+ 2 - 2
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"

+ 2 - 1
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,
 ) {