mirror of
https://github.com/jellyfin/Swiftfin.git
synced 2024-12-12 08:26:23 +00:00
fix tvOS from previous attempt at work
This commit is contained in:
parent
e700f10531
commit
d47268cfe1
@ -34,6 +34,6 @@ final class MovieLibrariesCoordinator: NavigationCoordinatable {
|
||||
}
|
||||
|
||||
func makeLibrary(library: BaseItemDto) -> LibraryCoordinator {
|
||||
// LibraryCoordinator(viewModel: LibraryViewModel(parentID: library.id), title: library.title)
|
||||
LibraryCoordinator(viewModel: LibraryViewModel(parentID: library.id), title: library.title)
|
||||
}
|
||||
}
|
||||
|
@ -34,6 +34,6 @@ final class TVLibrariesCoordinator: NavigationCoordinatable {
|
||||
}
|
||||
|
||||
func makeLibrary(library: BaseItemDto) -> LibraryCoordinator {
|
||||
LibraryCoordinator(viewModel: .init(libraryItem: <#T##BaseItemDto#>))
|
||||
LibraryCoordinator(viewModel: LibraryViewModel(parentID: library.id), title: library.title)
|
||||
}
|
||||
}
|
||||
|
@ -15,6 +15,7 @@ struct LibraryView: View {
|
||||
var libraryRouter: LibraryCoordinator.Router
|
||||
@StateObject
|
||||
var viewModel: LibraryViewModel
|
||||
var title: String
|
||||
|
||||
// MARK: tracks for grid
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user