From c2ff8b1ff5339dd7e11e864da49ccaab709105f1 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 2 Feb 2025 20:37:52 -0800 Subject: [PATCH] Add required inits. --- iOS/MainWindow/Sidebar/Cell/MainFeedTableViewCell.swift | 5 +++++ iOS/MainWindow/Timeline/Cell/MainTimelineTableViewCell.swift | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/iOS/MainWindow/Sidebar/Cell/MainFeedTableViewCell.swift b/iOS/MainWindow/Sidebar/Cell/MainFeedTableViewCell.swift index 3c4eeaf61..bf2dd2941 100644 --- a/iOS/MainWindow/Sidebar/Cell/MainFeedTableViewCell.swift +++ b/iOS/MainWindow/Sidebar/Cell/MainFeedTableViewCell.swift @@ -107,6 +107,11 @@ final class MainFeedTableViewCell: VibrantTableViewCell { private var unreadCountView = MainFeedUnreadCountView(frame: CGRect.zero) private var isShowingEditControl = false + override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { + super.init(style: style, reuseIdentifier: reuseIdentifier) + commonInit() + } + required init?(coder: NSCoder) { super.init(coder: coder) commonInit() diff --git a/iOS/MainWindow/Timeline/Cell/MainTimelineTableViewCell.swift b/iOS/MainWindow/Timeline/Cell/MainTimelineTableViewCell.swift index 28d6ccdc1..303cefd11 100644 --- a/iOS/MainWindow/Timeline/Cell/MainTimelineTableViewCell.swift +++ b/iOS/MainWindow/Timeline/Cell/MainTimelineTableViewCell.swift @@ -32,6 +32,11 @@ final class MainTimelineTableViewCell: VibrantTableViewCell { } } + override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { + super.init(style: style, reuseIdentifier: reuseIdentifier) + commonInit() + } + required init?(coder: NSCoder) { super.init(coder: coder) commonInit()