Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
xxfast committed Nov 24, 2024
1 parent f664466 commit bd89c8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
package io.github.xxfast.decompose.router.pages

import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.pager.PagerScope
import androidx.compose.foundation.pager.PagerState
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.ui.Modifier
import com.arkivanov.decompose.ExperimentalDecomposeApi
import com.arkivanov.decompose.extensions.compose.pages.Pages
import com.arkivanov.decompose.extensions.compose.pages.ChildPages
import com.arkivanov.decompose.extensions.compose.pages.PagesScrollAnimation
import com.arkivanov.decompose.extensions.compose.pages.defaultHorizontalPager
import com.arkivanov.decompose.router.pages.select
import io.github.xxfast.decompose.router.LocalRouterContext
import kotlinx.serialization.Serializable

@OptIn(ExperimentalFoundationApi::class, ExperimentalDecomposeApi::class)
@Composable
fun <C : @Serializable Any> RoutedContent(
router: Router<C>,
Expand All @@ -28,7 +25,7 @@ fun <C : @Serializable Any> RoutedContent(
) -> Unit = defaultHorizontalPager(),
content: @Composable (C) -> Unit,
) {
Pages(
ChildPages(
pages = router.pages.value,
onPageSelected = { index -> router.select(index) },
modifier = modifier,
Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
agp = "8.3.2"
androidx-activity ="1.7.2"
androidx-fragment ="1.6.1"
compose-multiplatform = "1.6.10"
compose-multiplatform = "1.7.0"
compose-test-rule = "1.5.1"
decompose = "3.0.0"
decompose = "3.2.2"
dokka = "1.8.20"
binary-compatibility-validator = "0.13.2"
horologist = "0.5.7"
kotlin = "2.0.0"
kotlin = "2.0.20"
kotlinx-coroutines = "1.8.0"
kotlinx-serialization = "1.6.3"
wear-compose = "1.3.0-alpha03"
Expand Down

0 comments on commit bd89c8d

Please sign in to comment.