From e509ad1913e88a1fe338f172acba6865097e955b Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 30 Apr 2020 16:55:31 -0400 Subject: [PATCH] Fixed missing more button in details when browsing --- .../java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt index 3ca5804aac..c34f811ae8 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt @@ -152,10 +152,10 @@ class MangaHeaderHolder( manga_summary.post { 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) more_button_group.gone() - showMoreButton = false + showMoreButton = less_button.isVisible() } else { more_button_group.visible() }