mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Alway show the category title always for dymanic categories
Even if it is the only category
This commit is contained in:
parent
d7c6575962
commit
37957e61c9
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class LibraryHeaderHolder(val view: View, private val adapter: LibraryCategoryAd
|
||||||
sectionText.setBackgroundResource(R.drawable.square_ripple)
|
sectionText.setBackgroundResource(R.drawable.square_ripple)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (category.isAlone) sectionText.text = ""
|
if (category.isAlone && !category.isDynamic) sectionText.text = ""
|
||||||
else sectionText.text = category.name
|
else sectionText.text = category.name
|
||||||
if (category.sourceId != null) {
|
if (category.sourceId != null) {
|
||||||
val icon = adapter.sourceManager.get(category.sourceId!!)?.icon()
|
val icon = adapter.sourceManager.get(category.sourceId!!)?.icon()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue