diff --git a/CHANGELOG.md b/CHANGELOG.md index 7023c1475..3d20a8e40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ The format is a modified version of [Keep a Changelog](https://keepachangelog.co ### Fixed - Fix long floating point numbers showing up in Comick progress ([@MajorTanya](https://github.com/MajorTanya)) ([#4090](https://github.com/mihonapp/mihon/pull/4090)) - Fixed updating from v0.20.x failing when the database had duplicate history or tracking entries, or damaged indexes ([@AntsyLich](https://github.com/AntsyLich)) +- Fixed a crash when a back gesture was still in progress as the reader or a dialog closed ([@AntsyLich](https://github.com/AntsyLich)) ## [v0.21.1] - 2026-10-12 ### Fixed diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 159747656..c732a2165 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -229,6 +229,7 @@ dependencies { debugImplementation(libs.androidx.compose.uiTooling) implementation(libs.androidx.compose.uiToolingPreview) implementation(libs.androidx.compose.uiUtil) + implementation(libs.androidx.navigationEvent) implementation(libs.androidx.interpolator) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 88267b825..c9f8a2d9b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -15,6 +15,7 @@ androidx-coreSplashScreen = "1.2.0" androidx-glance = "1.2.0" androidx-interpolator = "1.0.0" androidx-lifecycle = "2.11.0" +androidx-navigationEvent = "1.2.0" androidx-paging = "3.5.2" androidx-preference = "1.2.1" androidx-profileInstaller = "1.4.1" @@ -109,6 +110,7 @@ androidx-lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", androidx-lifecycle-runtime = { module = "androidx.lifecycle:lifecycle-runtime", version.ref = "androidx-lifecycle" } androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel", version.ref = "androidx-lifecycle" } androidx-lifecycle-viewmodelCompose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "androidx-lifecycle" } +androidx-navigationEvent = { module = "androidx.navigationevent:navigationevent", version.ref = "androidx-navigationEvent" } androidx-paging-compose = { module = "androidx.paging:paging-compose", version.ref = "androidx-paging" } androidx-paging-runtime = { module = "androidx.paging:paging-runtime", version.ref = "androidx-paging" } androidx-preference = { module = "androidx.preference:preference-ktx", version.ref = "androidx-preference" }