Skip to content

Commit

Permalink
Remove unneeded preferredContentSize assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdchr committed Jul 20, 2023
1 parent e7bdf6d commit 0b9a1cd
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,6 @@ class PrepublishingViewController: UITableViewController {
self?.hasSelectedText = true
}
})

// when displayed in a popover, update content size so the window is resized to fit the current content.
navigationController?.preferredContentSize = tableView.contentSize
}

override func viewWillDisappear(_ animated: Bool) {
Expand Down

0 comments on commit 0b9a1cd

Please sign in to comment.