adds nice git interface
This commit is contained in:
@@ -13,7 +13,8 @@ public struct WorkspaceWindow: View {
|
||||
WorkspaceView(model: model)
|
||||
.frame(minWidth: Metrics.minimumWindow.width, minHeight: Metrics.minimumWindow.height)
|
||||
.background(Palette.editor)
|
||||
.background(WindowBridge(model: model, title: model.title, hasProject: model.root != nil))
|
||||
.background(WindowBridge(model: model, title: model.title, hasProject: model.root != nil,
|
||||
gitViewOpen: model.layout.isGitViewOpen))
|
||||
.preferredColorScheme(.dark)
|
||||
.focusedSceneValue(\.workspace, model)
|
||||
.task { await model.start() }
|
||||
|
||||
Reference in New Issue
Block a user