Skip to content

Commit

Permalink
Merge branch 'develop' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGladkov committed Jul 28, 2022
2 parents 467ab27 + db6ca45 commit 3f4d794
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 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-beta13"
val odyssey = "1.0.0-beta14"
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-beta13") // For core classes
implementation("io.github.alexgladkov:odyssey-compose:1.0.0-beta13") // For compose extensions
implementation("io.github.alexgladkov:odyssey-core:1.0.0-beta14") // For core classes
implementation("io.github.alexgladkov:odyssey-compose:1.0.0-beta14") // For compose extensions
}
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ internal fun BoxScope.AlertDialog(
}
)

Screamer(backdropAlpha) { modalController.popBackStack() }
Screamer(backdropAlpha) {
if (bundle.closeOnBackdropClick && bundle.dialogState !is ModalDialogState.Close) {
modalController.popBackStack()
}
}

Card(
modifier = modifier.alpha(dialogAlpha).offset { IntOffset(x = 0, y = offset) },
Expand Down

0 comments on commit 3f4d794

Please sign in to comment.