mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
making sure manga is not in expanded state if manga is in library and not initialized
This commit is contained in:
parent
4c75d2c014
commit
8f8e4aea9f
1 changed files with 2 additions and 1 deletions
|
@ -291,7 +291,8 @@ class MangaHeaderHolder(
|
||||||
|
|
||||||
binding.mangaSummary.post {
|
binding.mangaSummary.post {
|
||||||
if (binding.subItemGroup.isVisible) {
|
if (binding.subItemGroup.isVisible) {
|
||||||
if ((binding.mangaSummary.lineCount < 3 && manga.genre.isNullOrBlank()) && binding.moreButton.isVisible) {
|
if (binding.mangaSummary.lineCount < 3 && manga.genre.isNullOrBlank()
|
||||||
|
&& binding.moreButton.isVisible && manga.initialized) {
|
||||||
expandDesc()
|
expandDesc()
|
||||||
binding.lessButton.isVisible = false
|
binding.lessButton.isVisible = false
|
||||||
showMoreButton = binding.lessButton.isVisible
|
showMoreButton = binding.lessButton.isVisible
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue