This commit is contained in:
Damiano Galassi committed 2019-03-11 18:36:10 +01:00
1 parent 560781c0f7
commit e16ea22a23
17 files changed
+53 -56

No files matched your search

+1 -1
View File
@@ -93,7 +93,7 @@ public struct ChapterDB : ChapterService {
let names = try? node.nodes(forXPath: "./*:chapters/*:chapter/@name") else { return nil }
var currentTime: UInt64 = 0
var chapters: [Chapter] = Array()
var chapters: [Chapter] = []
for (time, name) in zip(times.compactMap { $0.stringValue }, names.compactMap { $0.stringValue }) {
let timestamp = TimeFromString(time, 1000)