Skip to content

Commit

Permalink
Merge branch 'rc/release-1.0.0-beta' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Gladkov committed Apr 29, 2022
2 parents 3643f19 + 55525e0 commit b070d7c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion buildSrc/buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
object Dependencies {

val odyssey = "1.0.0-beta05"
val odyssey = "1.0.0-beta07"
val odysseyPackage = "io.github.alexgladkov"

object DI {
Expand Down
4 changes: 2 additions & 2 deletions documentation/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Add dependencies to gradle
```kotlin
named("commonMain") {
dependencies {
implementation("io.github.alexgladkov:odyssey-core:1.0.0-beta05") // For core classes
implementation("io.github.alexgladkov:odyssey-compose:1.0.0-beta05") // For compose extensions
implementation("io.github.alexgladkov:odyssey-core:1.0.0-beta07") // For core classes
implementation("io.github.alexgladkov:odyssey-compose:1.0.0-beta07") // For compose extensions
}
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ internal fun BoxScope.BottomModalSheet(
}

Box(modifier = Modifier.fillMaxSize()) {
if (bundle.closeOnSwipe){
if (bundle.closeOnSwipe) {
modifier = modifier.swipeable(
state = swipeableState,
anchors = anchors,
Expand All @@ -89,7 +89,7 @@ internal fun BoxScope.BottomModalSheet(
}

LaunchedEffect(bundle.dialogState, swipeableState.offset.value) {
if (swipeableState.offset.value == viewHeight) {
if (swipeableState.offset.value == viewHeight && bundle.dialogState !is ModalDialogState.Close) {
modalController.setTopDialogState(ModalDialogState.Close())
}

Expand Down

0 comments on commit b070d7c

Please sign in to comment.