From 75d83001cf15801d6e35c97a7df190bc0851bea6 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Fri, 1 Nov 2024 21:43:15 -0700 Subject: [PATCH] Rename showAddWebFeedWindow to showAddFeedWindow. --- Mac/AppDelegate.swift | 4 +- Mac/Base.lproj/Main.storyboard | 6 +-- Mac/Base.lproj/MainWindow.storyboard | 52 +++++++++---------- Mac/MainWindow/MainWindowController.swift | 2 +- ...idebarViewController+ContextualMenus.swift | 2 +- 5 files changed, 33 insertions(+), 33 deletions(-) diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index f461fc891..bccf8991b 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -465,7 +465,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, return mainWindowController?.isOpen ?? false } - if item.action == #selector(showAddWebFeedWindow(_:)) || item.action == #selector(showAddFolderWindow(_:)) { + if item.action == #selector(showAddFeedWindow(_:)) || item.action == #selector(showAddFolderWindow(_:)) { return !isDisplayingSheet && !AccountManager.shared.activeAccounts.isEmpty } @@ -538,7 +538,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, AccountManager.shared.refreshAll(errorHandler: ErrorHandler.present) } - @IBAction func showAddWebFeedWindow(_ sender: Any?) { + @IBAction func showAddFeedWindow(_ sender: Any?) { addWebFeed(nil) } diff --git a/Mac/Base.lproj/Main.storyboard b/Mac/Base.lproj/Main.storyboard index 456ce2f45..6ec974d60 100644 --- a/Mac/Base.lproj/Main.storyboard +++ b/Mac/Base.lproj/Main.storyboard @@ -1,8 +1,8 @@ - + - + @@ -71,7 +71,7 @@ - + diff --git a/Mac/Base.lproj/MainWindow.storyboard b/Mac/Base.lproj/MainWindow.storyboard index 6b01165e4..3b6350a2a 100644 --- a/Mac/Base.lproj/MainWindow.storyboard +++ b/Mac/Base.lproj/MainWindow.storyboard @@ -1,8 +1,8 @@ - + - + @@ -23,7 +23,7 @@ - + @@ -60,7 +60,7 @@ - + @@ -141,7 +141,7 @@ -