Commit 1601ede5 authored by Soomin Lee's avatar Soomin Lee

VideoModel: Use cached notification name

parent f7f2fbc7
......@@ -33,6 +33,6 @@ class VideoModel: MediaLibraryBaseModel {
extension VideoModel: MediaLibraryObserver {
func medialibrary(_ medialibrary: VLCMediaLibraryManager, didAddVideo video: [VLCMLMedia]) {
video.forEach({ append($0) })
NotificationCenter.default.post(name: .VLCVideosDidChangeNotification, object: nil)
NotificationCenter.default.post(name: notificaitonName, object: nil)
}
}
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