mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Get Mac app building.
This commit is contained in:
@@ -492,7 +492,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
|
||||
}
|
||||
|
||||
let isDisplayingSheet = mainWindowController?.isDisplayingSheet ?? false
|
||||
let isSpecialAccountAvailable = AccountManager.shared.activeAccounts.contains(where: { $0.type == .onMyMac || $0.type == .cloudKit })
|
||||
|
||||
if item.action == #selector(refreshAll(_:)) {
|
||||
return !AccountManager.shared.refreshInProgress && !AccountManager.shared.activeAccounts.isEmpty
|
||||
|
||||
@@ -140,7 +140,7 @@ private extension WebFeedInspectorViewController {
|
||||
updateIsReaderViewAlwaysOn()
|
||||
windowTitle = feed?.nameForDisplay ?? NSLocalizedString("window.title.feed-inspector", comment: "Feed Inspector")
|
||||
view.needsLayout = true
|
||||
if let webfeed = feed {
|
||||
if feed != nil {
|
||||
isReaderViewAlwaysOnCheckBox?.isEnabled = true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1191,7 +1191,7 @@ private extension MainWindowController {
|
||||
return currentLink != nil
|
||||
}
|
||||
|
||||
if let webfeed = currentTimelineViewController?.selectedArticles.first?.webFeed {
|
||||
if currentTimelineViewController?.selectedArticles.first?.webFeed != nil {
|
||||
toolbarButton.isEnabled = true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user