Bugfix, don't show "more" if we have MAX_LINES lines.
This commit is contained in:
parent
65b16beb61
commit
56575c3291
@ -398,7 +398,7 @@ public class AppDetailsRecyclerViewAdapter
|
|||||||
descriptionView.post(new Runnable() {
|
descriptionView.post(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
if (descriptionView.getLineCount() < HeaderViewHolder.MAX_LINES) {
|
if (descriptionView.getLineCount() <= HeaderViewHolder.MAX_LINES) {
|
||||||
descriptionMoreView.setVisibility(View.GONE);
|
descriptionMoreView.setVisibility(View.GONE);
|
||||||
} else {
|
} else {
|
||||||
descriptionMoreView.setVisibility(View.VISIBLE);
|
descriptionMoreView.setVisibility(View.VISIBLE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user