mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-12-01 12:31:45 +00:00
chapterValid() now tests for empty chapter lists
This commit is contained in:
@ -145,6 +145,9 @@ public class ChapterUtils {
|
||||
}
|
||||
|
||||
private static boolean chaptersValid(List<Chapter> chapters) {
|
||||
if (chapters.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
for (Chapter c : chapters) {
|
||||
if (c.getTitle() == null) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user