mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 04:09:18 +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.lessButton.isVisible = !isTablet
|
||||||
binding.moreButtonGroup.isVisible = false
|
binding.moreButtonGroup.isVisible = false
|
||||||
binding.title.maxLines = Integer.MAX_VALUE
|
binding.title.maxLines = Integer.MAX_VALUE
|
||||||
|
binding.mangaAuthor.maxLines = Integer.MAX_VALUE
|
||||||
binding.mangaSummary.requestFocus()
|
binding.mangaSummary.requestFocus()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -174,6 +175,7 @@ class MangaHeaderHolder(
|
|||||||
binding.lessButton.isVisible = false
|
binding.lessButton.isVisible = false
|
||||||
binding.moreButtonGroup.isVisible = !isTablet
|
binding.moreButtonGroup.isVisible = !isTablet
|
||||||
binding.title.maxLines = 4
|
binding.title.maxLines = 4
|
||||||
|
binding.mangaAuthor.maxLines = 2
|
||||||
adapter.recyclerView.post {
|
adapter.recyclerView.post {
|
||||||
adapter.delegate.updateScroll()
|
adapter.delegate.updateScroll()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user