diff options
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/fox/ttrss/HeadlinesFragment.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/org/fox/ttrss/HeadlinesFragment.java b/src/org/fox/ttrss/HeadlinesFragment.java index 2080b043..d2923a42 100644 --- a/src/org/fox/ttrss/HeadlinesFragment.java +++ b/src/org/fox/ttrss/HeadlinesFragment.java @@ -679,11 +679,12 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener, TextView author = (TextView)v.findViewById(R.id.author); - if (author != null && articleAuthor.length() > 0) { - author.setText(getString(R.string.author_formatted, articleAuthor)); - } else { - author.setText(""); - } + if (author != null) + if (articleAuthor.length() > 0) { + author.setText(getString(R.string.author_formatted, articleAuthor)); + } else { + author.setText(""); + } /* ImageView separator = (ImageView)v.findViewById(R.id.headlines_separator); |