mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 16:54:12 +00:00
🔥 Remove toggleSidebar code
No longer triggered
This commit is contained in:
1 file changed
-4
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user