Use Swift 6.2 tools and Swift 6 language mode with RSTree. Deal with fallout.

This commit is contained in:
Brent Simmons committed 2025-11-10 11:26:10 -08:00
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)
+5 -5
View File
@@ -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