diff --git a/app/build.gradle b/app/build.gradle index 2c1b69bb..bb47167c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -31,8 +31,8 @@ android { testApplicationId "ac.mdiq.podcini.tests" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - versionCode 3020249 - versionName "6.6.4" + versionCode 3020250 + versionName "6.6.5" applicationId "ac.mdiq.podcini.R" def commit = "" diff --git a/app/src/main/kotlin/ac/mdiq/podcini/ui/fragment/SubscriptionsFragment.kt b/app/src/main/kotlin/ac/mdiq/podcini/ui/fragment/SubscriptionsFragment.kt index 0af7584e..59c1e439 100644 --- a/app/src/main/kotlin/ac/mdiq/podcini/ui/fragment/SubscriptionsFragment.kt +++ b/app/src/main/kotlin/ac/mdiq/podcini/ui/fragment/SubscriptionsFragment.kt @@ -112,7 +112,7 @@ class SubscriptionsFragment : Fragment(), Toolbar.OnMenuItemClickListener, Selec private lateinit var queuesAdapter: ArrayAdapter private lateinit var tagsAdapter: ArrayAdapter private var tagFilterIndex = 1 - private var queueFilterIndex = 1 + private var queueFilterIndex = 0 private var infoTextFiltered = "" private var infoTextUpdate = "" @@ -164,17 +164,16 @@ class SubscriptionsFragment : Fragment(), Toolbar.OnMenuItemClickListener, Selec initAdapter() setupEmptyView() - resetTags() val queues = realm.query(PlayQueue::class).find() queueIds.addAll(queues.map { it.id }) - val spinnerTexts: MutableList = mutableListOf("All", "None") + val spinnerTexts: MutableList = mutableListOf("Any queue", "No queue") spinnerTexts.addAll(queues.map { it.name }) queuesAdapter = ArrayAdapter(requireContext(), android.R.layout.simple_spinner_item, spinnerTexts) queuesAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item) binding.queuesSpinner.setAdapter(queuesAdapter) - binding.queuesSpinner.setSelection(queuesAdapter.getPosition("All")) + binding.queuesSpinner.setSelection(queuesAdapter.getPosition("Any queue")) binding.queuesSpinner.onItemSelectedListener = object : AdapterView.OnItemSelectedListener { override fun onItemSelected(parent: AdapterView<*>?, view: View?, position: Int, id: Long) { queueFilterIndex = position diff --git a/changelog.md b/changelog.md index 6900a9b1..367c4600 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +# 6.6.5 + +* fixed the issue of subscriptions not filtered correctly. + # 6.6.4 * added ability to receive music or playlist shared from YT Music diff --git a/fastlane/metadata/android/en-US/changelogs/3020250.txt b/fastlane/metadata/android/en-US/changelogs/3020250.txt new file mode 100644 index 00000000..d1363036 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/3020250.txt @@ -0,0 +1,3 @@ + Version 6.6.5: + +* fixed the issue of subscriptions not filtered correctly.