6.6.5 commit

This commit is contained in:
Xilin Jia 2024-09-16 09:37:09 +01:00
parent 3b8a97496f
commit 18c068cb4c
4 changed files with 12 additions and 6 deletions

View File

@ -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 = ""

View File

@ -112,7 +112,7 @@ class SubscriptionsFragment : Fragment(), Toolbar.OnMenuItemClickListener, Selec
private lateinit var queuesAdapter: ArrayAdapter<String>
private lateinit var tagsAdapter: ArrayAdapter<String>
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<String> = mutableListOf("All", "None")
val spinnerTexts: MutableList<String> = 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

View File

@ -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

View File

@ -0,0 +1,3 @@
Version 6.6.5:
* fixed the issue of subscriptions not filtered correctly.