From 3e463b33627170c9cbf862e2512343317a43cdca Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Sun, 22 Aug 2021 23:58:45 -0400 Subject: [PATCH] Expand manga author to max lines when more is tapped in details --- .../main/java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt | 2 ++ 1 file changed, 2 insertions(+) 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 ea30cd5c71..b17c53b6ab 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 @@ -160,6 +160,7 @@ class MangaHeaderHolder( binding.lessButton.isVisible = !isTablet binding.moreButtonGroup.isVisible = false binding.title.maxLines = Integer.MAX_VALUE + binding.mangaAuthor.maxLines = Integer.MAX_VALUE binding.mangaSummary.requestFocus() } } @@ -174,6 +175,7 @@ class MangaHeaderHolder( binding.lessButton.isVisible = false binding.moreButtonGroup.isVisible = !isTablet binding.title.maxLines = 4 + binding.mangaAuthor.maxLines = 2 adapter.recyclerView.post { adapter.delegate.updateScroll() }