Skip to content

Commit

Permalink
Fixed #70
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-stoneuk committed Sep 17, 2017
1 parent d7ee1c9 commit a59daec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static void setupItem(MaterialAboutTitleItemViewHolder holder, MaterialAb
int descRes = item.getDescRes();

holder.desc.setVisibility(View.VISIBLE);
if (text != null) {
if (desc != null) {
holder.desc.setText(desc);
} else if (descRes != 0) {
holder.desc.setText(descRes);
Expand Down

0 comments on commit a59daec

Please sign in to comment.