فهرست منبع

CollectionModels: Use tracks function to return items for collection

Carola Nitz 6 سال پیش
والد
کامیت
375a7c4b67
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      SharedSources/MediaLibraryModel/ArtistModel.swift
  2. 1 1
      SharedSources/MediaLibraryModel/GenreModel.swift

+ 1 - 1
SharedSources/MediaLibraryModel/ArtistModel.swift

@@ -92,6 +92,6 @@ extension VLCMLArtist: MediaCollectionModel {
     }
 
     func files() -> [VLCMLMedia] {
-        return []
+        return tracks()
     }
 }

+ 1 - 1
SharedSources/MediaLibraryModel/GenreModel.swift

@@ -104,6 +104,6 @@ extension VLCMLGenre: MediaCollectionModel {
     }
 
     func files() -> [VLCMLMedia] {
-        return []
+        return tracks()
     }
 }