File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
CodeEdit/Features/Documents/Controllers Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -69,13 +69,15 @@ final class CodeEditSplitViewController: NSSplitViewController {
6969 addSplitViewItem ( navigator)
7070
7171 let workspaceView = SettingsInjector {
72- WorkspaceView ( )
73- . environmentObject ( workspace)
74- . environmentObject ( editorManager)
75- . environmentObject ( statusBarViewModel)
76- . environmentObject ( utilityAreaModel)
77- . environmentObject ( taskManager)
78- . environmentObject ( workspace. activityManager)
72+ WindowObserver ( window: WindowBox ( value: windowRef) ) {
73+ WorkspaceView ( )
74+ . environmentObject ( workspace)
75+ . environmentObject ( editorManager)
76+ . environmentObject ( statusBarViewModel)
77+ . environmentObject ( utilityAreaModel)
78+ . environmentObject ( taskManager)
79+ . environmentObject ( workspace. activityManager)
80+ }
7981 }
8082
8183 let mainContent = NSSplitViewItem ( viewController: NSHostingController ( rootView: workspaceView) )
You can’t perform that action at this time.
0 commit comments