mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-03 18:56:14 +00:00
Fix various concurrency issues.
This commit is contained in:
1 parent
653789b913
commit
8f57f914dd
39 files changed
+248
-424
No files matched your search
@@ -12,7 +12,7 @@ import Articles
|
||||
import RSCore
|
||||
|
||||
@objc(ScriptableAccount)
|
||||
@MainActor final class ScriptableAccount: NSObject, UniqueIdScriptingObject, ScriptingObjectContainer {
|
||||
@MainActor final class ScriptableAccount: NSObject, UniqueIDScriptingObject, ScriptingObjectContainer {
|
||||
|
||||
let account:Account
|
||||
init (_ account:Account) {
|
||||
@@ -57,7 +57,7 @@ import RSCore
|
||||
// I am not sure if account should prefer to be specified by name or by ID
|
||||
// but in either case it seems like the accountID would be used as the keydata, so I chose ID
|
||||
@objc(uniqueId)
|
||||
var scriptingUniqueId:Any {
|
||||
var scriptingUniqueID:Any {
|
||||
return account.accountID
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user