mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-03 18:56:14 +00:00
Use Swift 6.2 tools and Swift 6 language mode with RSTree. Deal with fallout.
This commit is contained in:
1 parent
e801d11d81
commit
143e5e1da8
16 files changed
+42
-39
No files matched your search
@@ -57,7 +57,9 @@ struct MarkAsReadAlertController {
|
||||
cancelCompletion?()
|
||||
}
|
||||
let settingsAction = UIAlertAction(title: settingsTitle, style: .default) { _ in
|
||||
coordinator.showSettings(scrollToArticlesSection: true)
|
||||
Task { @MainActor in
|
||||
coordinator.showSettings(scrollToArticlesSection: true)
|
||||
}
|
||||
}
|
||||
let markAction = UIAlertAction(title: confirmTitle, style: .default, handler: completion)
|
||||
|
||||
|
||||
@@ -25,11 +25,11 @@ enum ShowFeedName {
|
||||
case feed
|
||||
}
|
||||
|
||||
struct FeedNode: Hashable {
|
||||
var node: Node
|
||||
var sidebarItemID: SidebarItemIdentifier
|
||||
struct FeedNode: Hashable, Sendable {
|
||||
let node: Node
|
||||
let sidebarItemID: SidebarItemIdentifier
|
||||
|
||||
init(_ node: Node) {
|
||||
@MainActor init(_ node: Node) {
|
||||
self.node = node
|
||||
self.sidebarItemID = (node.representedObject as! SidebarItem).sidebarItemID!
|
||||
}
|
||||
@@ -39,7 +39,7 @@ struct FeedNode: Hashable {
|
||||
}
|
||||
}
|
||||
|
||||
final class SceneCoordinator: NSObject, UndoableCommandRunner {
|
||||
@MainActor final class SceneCoordinator: NSObject, UndoableCommandRunner {
|
||||
var undoableCommands = [UndoableCommand]()
|
||||
var undoManager: UndoManager? {
|
||||
return rootSplitViewController.undoManager
|
||||
|
||||
Reference in new issue
Block a user