mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 04:29:18 +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()
|
||||
|
||||
binding.mangaSummary.post {
|
||||
if (binding.subItemGroup.isVisible) {
|
||||
if ((binding.mangaSummary.lineCount < 3 && manga.genre.isNullOrBlank()) || binding.lessButton.isVisible) {
|
||||
binding.mangaSummary.setTextIsSelectable(true)
|
||||
binding.moreButtonGroup.isVisible = false
|
||||
showMoreButton = binding.lessButton.isVisible
|
||||
} else {
|
||||
binding.moreButtonGroup.isVisible = true
|
||||
}
|
||||
}
|
||||
// if (binding.subItemGroup.isVisible) {
|
||||
// if ((binding.mangaSummary.lineCount < 3 && manga.genre.isNullOrBlank()) || binding.lessButton.isVisible) {
|
||||
// binding.mangaSummary.setTextIsSelectable(true)
|
||||
// binding.moreButtonGroup.isVisible = false
|
||||
// showMoreButton = binding.lessButton.isVisible
|
||||
// } else {
|
||||
// binding.moreButtonGroup.isVisible = true
|
||||
// }
|
||||
// }
|
||||
if (adapter.hasFilter()) collapse()
|
||||
else expand()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user