Remove needless delegate reset

This commit is contained in:
1024jp 2024-02-18 17:31:00 +09:00
parent a8bc873e90
commit 09435deca5
2 changed files with 0 additions and 2 deletions

View File

@ -55,7 +55,6 @@ struct FilterField: NSViewRepresentable {
func updateNSView(_ nsView: NSSearchField, context: Context) {
nsView.stringValue = self.text
nsView.delegate = context.coordinator
nsView.recentsAutosaveName = self.autosaveName
}

View File

@ -74,7 +74,6 @@ struct RegexTextField: NSViewRepresentable {
func updateNSView(_ nsView: NSTextField, context: Context) {
nsView.stringValue = self.text
nsView.delegate = context.coordinator
}