mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 06:11:50 +01:00
Expand manga author to max lines when more is tapped in details
This commit is contained in:
parent
52d3eacadd
commit
3e463b3362
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user