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
@@ -109,7 +109,7 @@ final class ChapterSearchController: NSWindowController, NSTableViewDataSource,
@IBAction func addChapter(_ sender: Any) {
switch state {
case .completed(_, let result):
var textChapters: [MP42TextSample] = Array()
var textChapters: [MP42TextSample] = []
for chapter in result.chapters {
let sample = MP42TextSample()
sample.timestamp = chapter.timestamp