Rename Master* to Main*.

This commit is contained in:
Brent Simmons
2024-12-24 12:09:41 -08:00
parent a86d4dbab4
commit b601c181dd
29 changed files with 385 additions and 453 deletions

View File

@@ -549,7 +549,7 @@ class MainFeedViewController: UITableViewController, UndoableCommandRunner {
// MARK: API
func restoreSelectionIfNecessary(adjustScroll: Bool) {
if let indexPath = coordinator.masterFeedIndexPathForCurrentTimeline() {
if let indexPath = coordinator.mainFeedIndexPathForCurrentTimeline() {
if adjustScroll {
tableView.selectRowAndScrollIfNotVisible(at: indexPath, animations: [])
} else {
@@ -722,7 +722,7 @@ extension MainFeedViewController: UIContextMenuInteractionDelegate {
}
}
// MARK: MasterFeedTableViewSectionHeaderDelegate
// MARK: MainFeedTableViewSectionHeaderDelegate
extension MainFeedViewController: MainFeedTableViewSectionHeaderDelegate {
@@ -732,11 +732,11 @@ extension MainFeedViewController: MainFeedTableViewSectionHeaderDelegate {
}
// MARK: MasterTableViewCellDelegate
// MARK: MainTableViewCellDelegate
extension MainFeedViewController: MainFeedTableViewCellDelegate {
func masterFeedTableViewCellDisclosureDidToggle(_ sender: MainFeedTableViewCell, expanding: Bool) {
func mainFeedTableViewCellDisclosureDidToggle(_ sender: MainFeedTableViewCell, expanding: Bool) {
if expanding {
expand(sender)
} else {