diff --git a/iOS/MainTimeline/MainTimelineModernViewController.swift b/iOS/MainTimeline/MainTimelineModernViewController.swift index 372f3f1de..c84682ad5 100644 --- a/iOS/MainTimeline/MainTimelineModernViewController.swift +++ b/iOS/MainTimeline/MainTimelineModernViewController.swift @@ -15,15 +15,15 @@ import Account import Articles -struct CellIdentifier { - static let standard = "MainTimelineCellStandard" - static let standardIndex0 = "MainTimelineCellIndexZero" - static let icon = "MainTimelineCellIcon" - static let iconIndex0 = "MainTimelineCellIconIndexZero" -} - final class MainTimelineModernViewController: UIViewController, UndoableCommandRunner { + struct CellIdentifier { + static let standard = "MainTimelineCellStandard" + static let standardIndex0 = "MainTimelineCellIndexZero" + static let icon = "MainTimelineCellIcon" + static let iconIndex0 = "MainTimelineCellIconIndexZero" + } + // MARK: Private Variables private var numberOfTextLines = 0 private var iconSize = IconSize.medium diff --git a/iOS/Settings/TimelineCustomizerTableViewController.swift b/iOS/Settings/TimelineCustomizerTableViewController.swift index eeb0bbf86..1bcb2dba2 100644 --- a/iOS/Settings/TimelineCustomizerTableViewController.swift +++ b/iOS/Settings/TimelineCustomizerTableViewController.swift @@ -88,7 +88,7 @@ final class TimelineCustomizerTableViewController: UITableViewController { } if indexPath.section == 2 { - let cell = tableView.dequeueReusableCell(withIdentifier: CellIdentifier.icon) as! MainTimelineCell + let cell = tableView.dequeueReusableCell(withIdentifier: MainTimelineModernViewController.CellIdentifier.icon) as! MainTimelineCell cell.cellData = MainTimelineCellData(article: previewArticle, showFeedName: .byline, feedName: "The Fellowship of the Ring", @@ -102,7 +102,7 @@ final class TimelineCustomizerTableViewController: UITableViewController { } if indexPath.section == 3 { - let cell = tableView.dequeueReusableCell(withIdentifier: CellIdentifier.standard) as! MainTimelineCell + let cell = tableView.dequeueReusableCell(withIdentifier: MainTimelineModernViewController.CellIdentifier.standard) as! MainTimelineCell cell.cellData = MainTimelineCellData(article: previewArticle, showFeedName: .byline, feedName: "The Fellowship of the Ring",