👽️ Consistency with main

This commit is contained in:
Stuart Breckenridge committed 2026-01-25 14:49:34 +08:00
1 parent c0df3f2de1
commit 4d21c0d26e
2 files changed
+9 -9

No files matched your search

@@ -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
@@ -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",