File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Core/Sources/SuggestionWidget/SuggestionPanelContent Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ struct CodeBlockSuggestionPanelView: View {
6262 Button ( action: {
6363 Task {
6464 await commandHandler. presentPreviousSuggestion ( )
65- NSWorkspace . activatePreviousActiveXcode ( )
6665 }
6766 } ) {
6867 Image ( systemName: " chevron.left " )
@@ -82,7 +81,10 @@ struct CodeBlockSuggestionPanelView: View {
8281 Spacer ( )
8382
8483 Button ( action: {
85- Task { await commandHandler. dismissSuggestion ( ) }
84+ Task {
85+ await commandHandler. dismissSuggestion ( )
86+ NSWorkspace . activatePreviousActiveXcode ( )
87+ }
8688 } ) {
8789 Text ( " Dismiss " ) . foregroundStyle ( . tertiary) . padding ( . trailing, 4 )
8890 } . buttonStyle ( . plain)
@@ -105,7 +107,7 @@ struct CodeBlockSuggestionPanelView: View {
105107 Text ( " Accept " )
106108 } . buttonStyle ( CommandButtonStyle ( color: . accentColor) )
107109 }
108- . padding ( )
110+ . padding ( 6 )
109111 . foregroundColor ( . secondary)
110112 . background ( . regularMaterial)
111113 }
You can’t perform that action at this time.
0 commit comments