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