Fixed missing more button in details when browsing

This commit is contained in:
Jay 2020-04-30 16:55:31 -04:00
parent 0ca9418cd9
commit e509ad1913

View file

@ -152,10 +152,10 @@ class MangaHeaderHolder(
manga_summary.post { manga_summary.post {
if (sub_item_group.visibility != View.GONE) { if (sub_item_group.visibility != View.GONE) {
if ((manga_summary.lineCount < 3 && manga.genre.isNullOrBlank()) || less_button.visibility == View.VISIBLE) { if ((manga_summary.lineCount < 3 && manga.genre.isNullOrBlank()) || less_button.isVisible()) {
manga_summary.setTextIsSelectable(true) manga_summary.setTextIsSelectable(true)
more_button_group.gone() more_button_group.gone()
showMoreButton = false showMoreButton = less_button.isVisible()
} else { } else {
more_button_group.visible() more_button_group.visible()
} }