File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -483,7 +483,7 @@ extension HistoryListViewController: NSTableViewDataSource {
483483
484484extension HistoryListViewController : NSTableViewDelegate {
485485 func tableView( _ tableView: NSTableView , viewFor tableColumn: NSTableColumn ? , row: Int )
486- -> NSView ?
486+ -> NSView ?
487487 {
488488 guard let entry = dataProvider. historyEntry ( at: row) else { return nil }
489489 let identifier = NSUserInterfaceItemIdentifier ( " HistoryCell " )
@@ -511,8 +511,7 @@ extension HistoryListViewController: NSTableViewDelegate {
511511 _ tableView: NSTableView , rowActionsForRow row: Int , edge: NSTableView . RowActionEdge
512512 ) -> [ NSTableViewRowAction ] {
513513 if edge == . trailing {
514- let delete = NSTableViewRowAction ( style: . destructive, title: " Delete " ) {
515- [ weak self] _, row in
514+ let delete = NSTableViewRowAction ( style: . destructive, title: " Delete " ) { [ weak self] _, row in
516515 _ = self ? . dataProvider. deleteItem ( at: row)
517516 }
518517 return [ delete]
@@ -531,7 +530,7 @@ extension HistoryListViewController: NSSearchFieldDelegate {
531530 }
532531
533532 func control( _ control: NSControl , textView: NSTextView , doCommandBy commandSelector: Selector )
534- -> Bool
533+ -> Bool
535534 {
536535 if commandSelector == #selector( cancelOperation ( _: ) ) {
537536 if !searchText. isEmpty {
You can’t perform that action at this time.
0 commit comments