From b2ecd6c09a680507e1a6a2f1d757f309e4e96323 Mon Sep 17 00:00:00 2001 From: Xilin Jia <6257601+XilinJia@users.noreply.github.com> Date: Sun, 12 May 2024 04:23:31 +0100 Subject: [PATCH] 5.0.1 commit --- app/build.gradle | 4 ++-- .../preferences/fragments/ImportExportPreferencesFragment.kt | 4 ++-- changelog.md | 4 ++++ fastlane/metadata/android/en-US/changelogs/3020141.txt | 4 ++++ 4 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 fastlane/metadata/android/en-US/changelogs/3020141.txt diff --git a/app/build.gradle b/app/build.gradle index 7d7da453..e4ad5067 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -159,8 +159,8 @@ android { // Version code schema (not used): // "1.2.3-beta4" -> 1020304 // "1.2.3" -> 1020395 - versionCode 3020140 - versionName "5.0.0" + versionCode 3020141 + versionName "5.0.1" def commit = "" try { diff --git a/app/src/main/java/ac/mdiq/podcini/preferences/fragments/ImportExportPreferencesFragment.kt b/app/src/main/java/ac/mdiq/podcini/preferences/fragments/ImportExportPreferencesFragment.kt index 4ef7a107..c8bc1d7b 100644 --- a/app/src/main/java/ac/mdiq/podcini/preferences/fragments/ImportExportPreferencesFragment.kt +++ b/app/src/main/java/ac/mdiq/podcini/preferences/fragments/ImportExportPreferencesFragment.kt @@ -108,11 +108,11 @@ class ImportExportPreferencesFragment : PreferenceFragmentCompat() { exportDatabase() true } - findPreference(PREF_PREFERENCES_IMPORT)!!.onPreferenceClickListener = Preference.OnPreferenceClickListener { + findPreference(PREF_PREFERENCES_IMPORT)?.onPreferenceClickListener = Preference.OnPreferenceClickListener { importPreferences() true } - findPreference(PREF_PREFERENCES_EXPORT)!!.onPreferenceClickListener = Preference.OnPreferenceClickListener { + findPreference(PREF_PREFERENCES_EXPORT)?.onPreferenceClickListener = Preference.OnPreferenceClickListener { exportPreferences() true } diff --git a/changelog.md b/changelog.md index fa1632d6..a255cb4a 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +## 5.0.1 + +* fixed crash when opening Import/Export in settings + ## 5.0.0 * experimental (back up before use) release of instant sync between devices on the same wifi network without a server diff --git a/fastlane/metadata/android/en-US/changelogs/3020141.txt b/fastlane/metadata/android/en-US/changelogs/3020141.txt new file mode 100644 index 00000000..2585ac42 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/3020141.txt @@ -0,0 +1,4 @@ + +Version 5.0.1 brings several changes: + +* fixed crash when opening Import/Export in settings