From 5dd60cebd26469bcc597e1ccede8706fb403dfc1 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Wed, 17 May 2023 09:35:54 -0700 Subject: [PATCH] Switch the FragmentPagerAdapters to FragmentStateAdapters. https://redmine.stoutner.com/issues/587 --- app/src/main/assets/de/about_changelog.html | 22 +-- app/src/main/assets/en/about_changelog.html | 4 +- app/src/main/assets/es/about_changelog.html | 4 +- app/src/main/assets/fr/about_changelog.html | 4 +- app/src/main/assets/it/about_changelog.html | 4 +- app/src/main/assets/it/about_licenses.html | 6 +- app/src/main/assets/it/guide_requests.html | 72 +++++----- .../main/assets/pt-rBR/about_changelog.html | 4 +- app/src/main/assets/ru/about_changelog.html | 23 +-- app/src/main/assets/tr/about_changelog.html | 4 +- .../main/assets/zh-rCN/about_changelog.html | 4 +- .../activities/AboutActivity.kt | 36 +++-- .../activities/GuideActivity.kt | 39 +++-- .../activities/MainWebViewActivity.kt | 134 +++++++++--------- .../adapters/AboutPagerAdapter.kt | 74 ---------- .../adapters/AboutStateAdapter.kt | 44 ++++++ .../adapters/GuidePagerAdapter.kt | 58 -------- .../adapters/GuideStateAdapter.kt | 40 ++++++ .../adapters/PinnedMismatchPagerAdapter.kt | 6 +- ...PagerAdapter.kt => WebViewStateAdapter.kt} | 119 ++++++++-------- .../coroutines/SaveUrlCoroutine.kt | 11 +- .../dialogs/HttpAuthenticationDialog.kt | 4 +- .../dialogs/PinnedMismatchDialog.kt | 4 +- .../dialogs/SslCertificateErrorDialog.kt | 4 +- .../dialogs/UrlHistoryDialog.kt | 4 +- .../dialogs/ViewSslCertificateDialog.kt | 4 +- .../privacybrowser/views/NoSwipeViewPager.kt | 50 ------- .../main/res/layout/about_bottom_appbar.xml | 6 +- app/src/main/res/layout/about_top_appbar.xml | 6 +- .../main/res/layout/guide_bottom_appbar.xml | 6 +- app/src/main/res/layout/guide_top_appbar.xml | 6 +- .../layout/main_framelayout_bottom_appbar.xml | 4 +- .../layout/main_framelayout_top_appbar.xml | 4 +- app/src/main/res/values-it/strings.xml | 32 +++++ .../metadata/android/de-DE/changelogs/69.txt | 8 ++ .../phoneScreenshots/03-OptionsMenu-it.png | Bin 160119 -> 165515 bytes .../metadata/android/ru-RU/changelogs/69.txt | 7 + gradle.properties | 3 + 38 files changed, 418 insertions(+), 446 deletions(-) delete mode 100644 app/src/main/java/com/stoutner/privacybrowser/adapters/AboutPagerAdapter.kt create mode 100644 app/src/main/java/com/stoutner/privacybrowser/adapters/AboutStateAdapter.kt delete mode 100644 app/src/main/java/com/stoutner/privacybrowser/adapters/GuidePagerAdapter.kt create mode 100644 app/src/main/java/com/stoutner/privacybrowser/adapters/GuideStateAdapter.kt rename app/src/main/java/com/stoutner/privacybrowser/adapters/{WebViewPagerAdapter.kt => WebViewStateAdapter.kt} (63%) delete mode 100644 app/src/main/java/com/stoutner/privacybrowser/views/NoSwipeViewPager.kt create mode 100644 fastlane/metadata/android/de-DE/changelogs/69.txt create mode 100644 fastlane/metadata/android/ru-RU/changelogs/69.txt diff --git a/app/src/main/assets/de/about_changelog.html b/app/src/main/assets/de/about_changelog.html index 2dca8164..bb1999bc 100644 --- a/app/src/main/assets/de/about_changelog.html +++ b/app/src/main/assets/de/about_changelog.html @@ -33,17 +33,17 @@ -

3.14 (Version Code 69)

-

6. Mai 2023 - Mindest-API 24, Ziel-API 33

-