diff --git a/app/build.gradle b/app/build.gradle
index f4ba9142..5adecd0b 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -2,7 +2,7 @@ plugins {
id('com.android.application')
id 'kotlin-android'
id 'kotlin-kapt'
-// id 'com.google.devtools.ksp'
+ id 'com.google.devtools.ksp'
id('com.github.triplet.play') version '3.8.3' apply false
}
@@ -159,8 +159,8 @@ android {
// Version code schema (not used):
// "1.2.3-beta4" -> 1020304
// "1.2.3" -> 1020395
- versionCode 3020143
- versionName "5.2.0"
+ versionCode 3020144
+ versionName "5.2.1"
def commit = ""
try {
@@ -213,7 +213,6 @@ android {
}
}
-
androidResources {
additionalParameters "--no-version-vectors"
}
@@ -233,7 +232,8 @@ dependencies {
}
}
- kapt "androidx.annotation:annotation:1.7.1"
+// doesn't work with ksp??
+ kapt "androidx.annotation:annotation:1.8.0"
implementation "androidx.appcompat:appcompat:1.6.1"
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
diff --git a/app/src/main/assets/licenses.xml b/app/src/main/assets/licenses.xml
index 1244915a..eba77668 100644
--- a/app/src/main/assets/licenses.xml
+++ b/app/src/main/assets/licenses.xml
@@ -61,11 +61,11 @@
license="Apache 2.0"
licenseText="LICENSE_APACHE-2.0.txt" />
+ name="Coil"
+ author="Colin White et.al"
+ website="https://github.com/coil-kt/coil"
+ license="Apache 2.0"
+ licenseText="LICENSE_APACHE-2.0.txt" />
this@QueueFragment.onContextItemSelected(item) }
+ MenuItemUtils.setOnClickListeners(menu) { item: MenuItem -> this@QueueFragment.onContextItemSelected(item) }
}
}
recyclerAdapter?.setOnSelectModeListener(this)
@@ -163,7 +162,6 @@ class QueueFragment : Fragment(), Toolbar.OnMenuItemClickListener, SelectableAda
override fun onMainActionSelected(): Boolean {
return false
}
-
override fun onToggleChanged(open: Boolean) {
if (open && recyclerAdapter!!.selectedCount == 0) {
(activity as MainActivity).showSnackbarAbovePlayer(R.string.no_items_selected, Snackbar.LENGTH_SHORT)
@@ -193,11 +191,10 @@ class QueueFragment : Fragment(), Toolbar.OnMenuItemClickListener, SelectableAda
recyclerView.saveScrollPosition(TAG)
}
- override fun onStop() {
- super.onStop()
- scope.cancel()
-// disposable?.dispose()
- }
+// override fun onStop() {
+// super.onStop()
+//// disposable?.dispose()
+// }
@Subscribe(threadMode = ThreadMode.MAIN)
fun onEventMainThread(event: QueueEvent) {
@@ -340,6 +337,7 @@ class QueueFragment : Fragment(), Toolbar.OnMenuItemClickListener, SelectableAda
recyclerAdapter?.endSelectMode()
recyclerAdapter = null
EventBus.getDefault().unregister(this)
+ scope.cancel()
toolbar.setOnMenuItemClickListener(null)
toolbar.setOnLongClickListener(null)
@@ -518,7 +516,6 @@ class QueueFragment : Fragment(), Toolbar.OnMenuItemClickListener, SelectableAda
Log.e(TAG, Log.getStackTraceString(e))
}
}
-
}
override fun onStartSelectMode() {
diff --git a/app/src/main/java/ac/mdiq/podcini/ui/view/viewholder/EpisodeItemViewHolder.kt b/app/src/main/java/ac/mdiq/podcini/ui/view/viewholder/EpisodeItemViewHolder.kt
index 136aa8b3..47027206 100644
--- a/app/src/main/java/ac/mdiq/podcini/ui/view/viewholder/EpisodeItemViewHolder.kt
+++ b/app/src/main/java/ac/mdiq/podcini/ui/view/viewholder/EpisodeItemViewHolder.kt
@@ -107,8 +107,8 @@ class EpisodeItemViewHolder(private val activity: MainActivity, parent: ViewGrou
container.alpha = if (item.isPlayed()) 0.75f else 1.0f
val newButton = ItemActionButton.forItem(item)
-// Log.d(TAG, "bind ${actionButton?.TAG} ${newButton.TAG} ${item.title}")
- // not using a new button to ensure valid progress values
+ Logd(TAG, "bind ${actionButton?.TAG} ${newButton.TAG} ${item.title}")
+ // not using a new button to ensure valid progress values, for TTS audio generation
if (!(actionButton?.TAG == TTSActionButton::class.simpleName && newButton.TAG == TTSActionButton::class.simpleName)) {
actionButton = newButton
actionButton?.configure(secondaryActionButton, secondaryActionIcon, activity)
diff --git a/build.gradle b/build.gradle
index ebfc59ae..4e9d722a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -13,9 +13,9 @@ buildscript {
}
}
-//plugins {
-// id 'com.google.devtools.ksp' version '1.9.22-1.0.17' apply false
-//}
+plugins {
+ id 'com.google.devtools.ksp' version '1.9.24-1.0.20' apply false
+}
allprojects {
repositories {
diff --git a/changelog.md b/changelog.md
index 10e49142..1a582f57 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,3 +1,7 @@
+## 5.2.1
+
+* fixed issue of play/pause button not correctly updated in Queue
+
## 5.2.0
* suppressed log.d messages in release app (unbelievable incomplete suppression last time)
diff --git a/fastlane/metadata/android/en-US/changelogs/3020144.txt b/fastlane/metadata/android/en-US/changelogs/3020144.txt
new file mode 100644
index 00000000..ace6bf7d
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/3020144.txt
@@ -0,0 +1,4 @@
+
+Version 5.2.1 brings several changes:
+
+* fixed issue of play/pause button not correctly updated in Queue
diff --git a/fastlane/metadata/android/en-US/full_description.txt b/fastlane/metadata/android/en-US/full_description.txt
index dbb47660..b267ff5f 100755
--- a/fastlane/metadata/android/en-US/full_description.txt
+++ b/fastlane/metadata/android/en-US/full_description.txt
@@ -1,5 +1,5 @@
-Podcini is an open source podcast instrument, attuned to Puccini, adorned with pasticcini and aromatized with porcini.
+Podcini, an open source podcast instrument, attuned to Puccini, adorned with pasticcini and aromatized with porcini, invites your harmonious heartbeats.
It allows you to subscribe to any RSS feed (with or without media), gives you instant access to millions of free and paid podcasts or plain RSS feeds, from independent podcasters to large publishing houses such as the BBC, NPR and CNN. Add, import and export their feeds hassle-free using the Apple Podcasts database, OPML files or simple RSS URLs.