mirror of
https://github.com/insidegui/WWDC.git
synced 2026-04-07 19:17:41 +00:00
Adam Nemecek's refactor
This commit is contained in:
committed by
Allen Humphreys
parent
aac1ccac70
commit
c9ae271dbb
@@ -11,9 +11,9 @@ import ConfCore
|
||||
import RealmSwift
|
||||
|
||||
final class TranscriptIndexingService: NSObject, TranscriptIndexingServiceProtocol {
|
||||
|
||||
|
||||
private var transcriptIndexer: TranscriptIndexer!
|
||||
|
||||
|
||||
func indexTranscriptsIfNeeded(storageURL: URL, schemaVersion: UInt64) {
|
||||
if transcriptIndexer == nil {
|
||||
do {
|
||||
@@ -25,8 +25,8 @@ final class TranscriptIndexingService: NSObject, TranscriptIndexingServiceProtoc
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
transcriptIndexer.downloadTranscriptsIfNeeded()
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user