mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 19:31:49 +01: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
@ -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…
Reference in New Issue
Block a user