Commit a0ee10ed authored by Soomin Lee's avatar Soomin Lee

MediaLibraryService: Set medialibraryDidStartRescan as optional

parent fd4b296c
......@@ -94,7 +94,7 @@ extension NSNotification {
didDeletePlaylistsWithIds playlistsIds: [NSNumber])
// Force Rescan
@objc func medialibraryDidStartRescan()
@objc optional func medialibraryDidStartRescan()
}
// MARK: -
......@@ -686,7 +686,7 @@ extension MediaLibraryService {
extension MediaLibraryService {
func medialibraryDidStartRescan(_ medialibrary: VLCMediaLibrary) {
for observer in observers {
observer.value.observer?.medialibraryDidStartRescan()
observer.value.observer?.medialibraryDidStartRescan?()
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment