From b664d689b9757ffd1fd224c85a9659d2f4df1204 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Wed, 4 Oct 2023 12:11:12 -0700 Subject: [PATCH] Prevent the wrong page being displayed on restart. https://redmine.stoutner.com/issues/1051 --- app/build.gradle | 6 +++--- app/src/main/assets/it/about_changelog.html | 2 +- .../activities/MainWebViewActivity.kt | 15 +++++++++------ .../helpers/BookmarksDatabaseHelper.kt | 2 +- build.gradle | 2 +- 5 files changed, 15 insertions(+), 12 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index ce9b5ec1..4e970eb1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -85,14 +85,14 @@ dependencies { implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0' implementation 'androidx.core:core-ktx:1.10.1' implementation 'androidx.drawerlayout:drawerlayout:1.2.0' - implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1' - implementation 'androidx.preference:preference-ktx:1.2.0' + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2' + implementation 'androidx.preference:preference-ktx:1.2.1' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' implementation 'androidx.viewpager:viewpager:1.0.0' implementation 'androidx.webkit:webkit:1.7.0' // Include the Kotlin standard library. This should be the same version number listed in project build.gradle. - implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.8.10' + implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.8.22' // Include the Google material library. implementation 'com.google.android.material:material:1.9.0' diff --git a/app/src/main/assets/it/about_changelog.html b/app/src/main/assets/it/about_changelog.html index 5fe05f99..368fb0cd 100644 --- a/app/src/main/assets/it/about_changelog.html +++ b/app/src/main/assets/it/about_changelog.html @@ -34,7 +34,7 @@