mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-12-01 12:31:45 +00:00
Made sure identifying value of feed isn't empty
This commit is contained in:
@ -126,9 +126,9 @@ public class Feed extends FeedFile {
|
|||||||
* of the feed.
|
* of the feed.
|
||||||
* */
|
* */
|
||||||
public String getIdentifyingValue() {
|
public String getIdentifyingValue() {
|
||||||
if (feedIdentifier != null) {
|
if (feedIdentifier != null && !feedIdentifier.isEmpty()) {
|
||||||
return feedIdentifier;
|
return feedIdentifier;
|
||||||
} else if (title != null) {
|
} else if (title != null && !title.isEmpty()) {
|
||||||
return title;
|
return title;
|
||||||
} else {
|
} else {
|
||||||
return link;
|
return link;
|
||||||
|
|||||||
Reference in New Issue
Block a user