Convert SBMetadataResult to Swift.

This commit is contained in:
Damiano Galassi committed 2017-08-09 09:27:43 +02:00
1 parent aa20d18ded
commit 422e1c9853
28 files changed
+855 -1143

No files matched your search

+1 -1
View File
@@ -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
}