mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-02-02 19:56:59 +01:00
fix NPE in FeedInfoActivity
This commit is contained in:
parent
79ab68d563
commit
9301a3bd98
@ -120,7 +120,11 @@ public class FeedInfoActivity extends ActionBarActivity {
|
||||
});
|
||||
|
||||
txtvTitle.setText(feed.getTitle());
|
||||
txtvDescription.setText(feed.getDescription().trim());
|
||||
String description = feed.getDescription();
|
||||
if (description == null) {
|
||||
description = "";
|
||||
}
|
||||
txtvDescription.setText(description.trim());
|
||||
if (feed.getAuthor() != null) {
|
||||
txtvAuthor.setText(feed.getAuthor());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user