Fixed missing more button in details when browsing
This commit is contained in:
parent
0ca9418cd9
commit
e509ad1913
1 changed files with 2 additions and 2 deletions
|
@ -152,10 +152,10 @@ class MangaHeaderHolder(
|
||||||
|
|
||||||
manga_summary.post {
|
manga_summary.post {
|
||||||
if (sub_item_group.visibility != View.GONE) {
|
if (sub_item_group.visibility != View.GONE) {
|
||||||
if ((manga_summary.lineCount < 3 && manga.genre.isNullOrBlank()) || less_button.visibility == View.VISIBLE) {
|
if ((manga_summary.lineCount < 3 && manga.genre.isNullOrBlank()) || less_button.isVisible()) {
|
||||||
manga_summary.setTextIsSelectable(true)
|
manga_summary.setTextIsSelectable(true)
|
||||||
more_button_group.gone()
|
more_button_group.gone()
|
||||||
showMoreButton = false
|
showMoreButton = less_button.isVisible()
|
||||||
} else {
|
} else {
|
||||||
more_button_group.visible()
|
more_button_group.visible()
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue