omit music from libraries list

This commit is contained in:
jhays 2021-10-22 17:12:54 -05:00
parent 992361a1cf
commit 04a1f60800
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ struct LibraryListView: View {
LazyVStack {
if !viewModel.isLoading {
ForEach(viewModel.libraries, id: \.id) { library in
if library.collectionType ?? "" == "movies" || library.collectionType ?? "" == "tvshows" {
if library.collectionType ?? "" == "movies" || library.collectionType ?? "" == "tvshows" || library.collectionType ?? "" == "music" {
EmptyView()
} else {
NavigationLink(destination: LazyView {