mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 10:22:35 +00:00
👽️ Consistency with main
This commit is contained in:
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",
|
||||
|
||||
Reference in new issue
Block a user