mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 00:04:25 +00:00
Fix various SwiftLint warnings.
This commit is contained in:
1 parent
d9216a3275
commit
9ff1bd9836
104 files changed
+365
-363
No files matched your search
@@ -18,7 +18,7 @@ extension NSApplication: @preconcurrency ScriptingObjectContainer {
|
||||
}
|
||||
|
||||
func deleteElement(_ element: ScriptingObject) {
|
||||
print ("delete event not handled")
|
||||
print("delete event not handled")
|
||||
}
|
||||
|
||||
nonisolated var scriptingKey: String {
|
||||
@@ -136,7 +136,7 @@ extension NSApplication: @preconcurrency ScriptingObjectContainer {
|
||||
@objc(valueInFeedsWithUniqueID:)
|
||||
func valueInFeeds(withUniqueID id: String) -> ScriptableFeed? {
|
||||
let feeds = allFeeds()
|
||||
guard let feed = feeds.first(where: { $0.feedID == id} ) else {
|
||||
guard let feed = feeds.first(where: { $0.feedID == id}) else {
|
||||
return nil
|
||||
}
|
||||
return ScriptableFeed(feed, container: self)
|
||||
|
||||
Reference in new issue
Block a user