omit music from libraries list
This commit is contained in:
parent
992361a1cf
commit
04a1f60800
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue