From eb1e440ed27bdd7b410248499674964a8f8c4baa Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Sat, 12 Nov 2022 01:49:21 +0100 Subject: [PATCH] Fix environment objects --- Shared/Navigation/ContentView.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Shared/Navigation/ContentView.swift b/Shared/Navigation/ContentView.swift index fbef6c77..b548a288 100644 --- a/Shared/Navigation/ContentView.swift +++ b/Shared/Navigation/ContentView.swift @@ -148,6 +148,11 @@ struct ContentView: View { .background( EmptyView().sheet(isPresented: $navigation.presentingOpenVideos) { OpenVideosView() + .environmentObject(accounts) + .environmentObject(navigation) + .environmentObject(player) + .environmentObject(recents) + .environmentObject(search) } ) .background(playerViewInitialize)