diff --git a/Sora/Views/SearchView/SearchResultsGrid.swift b/Sora/Views/SearchView/SearchResultsGrid.swift index b7c39fb..8c5c63d 100644 --- a/Sora/Views/SearchView/SearchResultsGrid.swift +++ b/Sora/Views/SearchView/SearchResultsGrid.swift @@ -38,9 +38,8 @@ struct SearchResultsGrid: View { ForEach(items) { item in NavigationLink(destination: MediaInfoView(title: item.title, imageUrl: item.imageUrl, href: item.href, module: selectedModule) - .onDisappear { - - } + .environmentObject(moduleManager) + .environmentObject(libraryManager) ) { ZStack { LazyImage(url: URL(string: item.imageUrl)) { state in