connection updates

This commit is contained in:
Mark Gregory
2026-10-19 12:56:17 +01:00
parent a27680d893
commit b69be9f419
+1 -2
View File
@@ -1775,8 +1775,7 @@ struct SQLTextView: NSViewRepresentable {
.padding(.vertical, 4)
.background(index == 0 ? Color.accentColor.opacity(0.16) : Color.clear)
.contentShape(Rectangle())
.onTapGesture { [weak self, weak editor] in
guard let self, let editor else { return }
.onTapGesture {
self.selectedSuggestion = index
self.acceptSuggestion(editor)
}