🔥 Remove toggleSidebar code

No longer triggered
This commit is contained in:
Stuart Breckenridge committed 2026-01-10 17:14:30 +08:00
1 parent 11e6380fac
commit 46cd724aa9
1 file changed
-4
-4
View File
@@ -1405,10 +1405,6 @@ struct FeedNode: Hashable, Sendable {
articleViewController?.focus()
}
func toggleSidebar() {
rootSplitViewController.preferredDisplayMode = rootSplitViewController.displayMode == .oneBesideSecondary ? .secondaryOnly : .oneBesideSecondary
}
func selectArticleInCurrentFeed(_ articleID: String, isShowingExtractedArticle: Bool? = nil, articleWindowScrollY: Int? = nil) {
if let article = self.articles.first(where: { $0.articleID == articleID }) {
self.selectArticle(article, isShowingExtractedArticle: isShowingExtractedArticle, articleWindowScrollY: articleWindowScrollY)