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() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (descriptionView.getLineCount() < HeaderViewHolder.MAX_LINES) {
|
||||
if (descriptionView.getLineCount() <= HeaderViewHolder.MAX_LINES) {
|
||||
descriptionMoreView.setVisibility(View.GONE);
|
||||
} else {
|
||||
descriptionMoreView.setVisibility(View.VISIBLE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user