Skip to content

Commit 050d5cb

Browse files
Merge branch 'main' into terminal-task-output
2 parents c141401 + 378478a commit 050d5cb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

CodeEdit/Features/WindowCommands/CodeEditCommands.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ struct CodeEditCommands: Commands {
1212
private var sourceControlIsEnabled
1313

1414
var body: some Commands {
15-
// Group required every 9 elements for backwards compatibility with some SwiftUI and macOS versions.
16-
Group {
15+
Group { // SwiftUI limits to 9 items in an initializer, so we have to group every 9 items.
1716
MainCommands()
1817
FileCommands()
1918
ViewCommands()
@@ -23,8 +22,8 @@ struct CodeEditCommands: Commands {
2322
if sourceControlIsEnabled { SourceControlCommands() }
2423
EditorCommands()
2524
ExtensionCommands()
25+
WindowCommands()
2626
}
27-
WindowCommands()
2827
HelpCommands()
2928
}
3029
}

0 commit comments

Comments
 (0)