mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Change parameter label
This commit is contained in:
@@ -330,7 +330,7 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
|
||||
|
||||
@IBAction func copyArticleURL(_ sender: Any?) {
|
||||
if let currentLinks {
|
||||
URLPasteboardWriter.write(urlStrings: currentLinks, alertingInWindow: window)
|
||||
URLPasteboardWriter.write(urlStrings: currentLinks, alertingIn: window)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ extension TimelineViewController {
|
||||
return
|
||||
}
|
||||
|
||||
URLPasteboardWriter.write(urlStrings: urlStrings, alertingInWindow: self.view.window)
|
||||
URLPasteboardWriter.write(urlStrings: urlStrings, alertingIn: self.view.window)
|
||||
}
|
||||
|
||||
@objc func performShareServiceFromContextualMenu(_ sender: Any?) {
|
||||
|
||||
@@ -15,7 +15,7 @@ extension URLPasteboardWriter {
|
||||
/// - urlStrings: The URL strings to copy.
|
||||
/// - pasteboard: The pastebaord to copy to.
|
||||
/// - window: The window to use as a sheet parent for the alert. If `nil`, will run the alert modally.
|
||||
static func write(urlStrings: [String?], to pasteboard: NSPasteboard = .general, alertingInWindow window: NSWindow?) {
|
||||
static func write(urlStrings: [String?], to pasteboard: NSPasteboard = .general, alertingIn window: NSWindow?) {
|
||||
URLPasteboardWriter.write(urlStrings: urlStrings.compactMap { $0 }, to: pasteboard)
|
||||
|
||||
if urlStrings.contains(nil), !AppDefaults.shared.hasSeenNotAllArticlesHaveURLsAlert {
|
||||
|
||||
Reference in New Issue
Block a user