Bugfix, don't show "more" if we have MAX_LINES lines.

This commit is contained in:
mvp76 2016-12-06 09:45:35 +01:00
parent 65b16beb61
commit 56575c3291

View File

@ -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);