mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 08:17:16 +00:00
Convert from default MainActor isolation to unspecified default isolation.
This commit is contained in:
1 parent
b90a308e9d
commit
4fd16aadc9
136 files changed
+261
-736
No files matched your search
@@ -6,7 +6,7 @@
|
||||
// Copyright © 2019 Ranchero Software. All rights reserved.
|
||||
//
|
||||
|
||||
nonisolated struct DatabaseKey {
|
||||
struct DatabaseKey {
|
||||
// Sync Status
|
||||
static let articleID = "articleID"
|
||||
static let key = "key"
|
||||
|
||||
@@ -10,7 +10,7 @@ import Foundation
|
||||
import Articles
|
||||
import RSDatabase
|
||||
|
||||
nonisolated public struct SyncStatus: Hashable, Equatable, Sendable {
|
||||
public struct SyncStatus: Hashable, Equatable, Sendable {
|
||||
public enum Key: String, Sendable {
|
||||
case read
|
||||
case starred
|
||||
|
||||
@@ -11,7 +11,7 @@ import Articles
|
||||
import RSDatabase
|
||||
import RSDatabaseObjC
|
||||
|
||||
nonisolated struct SyncStatusTable {
|
||||
struct SyncStatusTable {
|
||||
static let name = "syncStatus"
|
||||
|
||||
static func selectForProcessing(limit: Int?, database: FMDatabase) -> Set<SyncStatus>? {
|
||||
@@ -98,7 +98,7 @@ nonisolated struct SyncStatusTable {
|
||||
}
|
||||
}
|
||||
|
||||
nonisolated private extension SyncStatusTable {
|
||||
private extension SyncStatusTable {
|
||||
|
||||
static func statusWithRow(_ row: FMResultSet) -> SyncStatus? {
|
||||
guard let articleID = row.string(forColumn: DatabaseKey.articleID),
|
||||
|
||||
Reference in new issue
Block a user