Skip to content

Commit

Permalink
Enable page context menu in search
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Oct 31, 2023
1 parent 0ed100d commit 364f183
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ final class PostSearchViewController: UIViewController, UITableViewDelegate, UIS
return cell
case let page as Page:
let cell = tableView.dequeueReusableCell(withIdentifier: Constants.pageCellID, for: indexPath) as! PageListCell
cell.configure(with: PageListItemViewModel(page: page))
cell.configure(with: PageListItemViewModel(page: page), delegate: listViewController as? InteractivePostViewDelegate)
updateHighlights(for: [cell], searchTerm: viewModel.searchTerm)
return cell
default:
Expand Down

0 comments on commit 364f183

Please sign in to comment.