mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Expand manga author to max lines when more is tapped in details
This commit is contained in:
parent
52d3eacadd
commit
3e463b3362
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue