Convert SBMetadataResult to Swift.
This commit is contained in:
1 parent
aa20d18ded
commit
422e1c9853
28 files changed
+855
-1143
No files matched your search
@@ -72,7 +72,7 @@ public struct ChapterDB : ChapterService {
|
||||
chapters.append(chapter)
|
||||
}
|
||||
|
||||
if chapters.count > 0 {
|
||||
if chapters.isEmpty == false {
|
||||
let result = ChapterResult(title: title, duration: duration, confimations: confirmations, chapters: chapters)
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user