mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 19:11:49 +01:00
for now, disable the logic to hide more/less button in details
This commit is contained in:
parent
b3f42659ce
commit
887d2fb293
@ -201,15 +201,15 @@ class MangaHeaderHolder(
|
|||||||
else manga.description?.trim()
|
else manga.description?.trim()
|
||||||
|
|
||||||
binding.mangaSummary.post {
|
binding.mangaSummary.post {
|
||||||
if (binding.subItemGroup.isVisible) {
|
// if (binding.subItemGroup.isVisible) {
|
||||||
if ((binding.mangaSummary.lineCount < 3 && manga.genre.isNullOrBlank()) || binding.lessButton.isVisible) {
|
// if ((binding.mangaSummary.lineCount < 3 && manga.genre.isNullOrBlank()) || binding.lessButton.isVisible) {
|
||||||
binding.mangaSummary.setTextIsSelectable(true)
|
// binding.mangaSummary.setTextIsSelectable(true)
|
||||||
binding.moreButtonGroup.isVisible = false
|
// binding.moreButtonGroup.isVisible = false
|
||||||
showMoreButton = binding.lessButton.isVisible
|
// showMoreButton = binding.lessButton.isVisible
|
||||||
} else {
|
// } else {
|
||||||
binding.moreButtonGroup.isVisible = true
|
// binding.moreButtonGroup.isVisible = true
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
if (adapter.hasFilter()) collapse()
|
if (adapter.hasFilter()) collapse()
|
||||||
else expand()
|
else expand()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user