mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 08:17:16 +00:00
The accounts property returns all accounts.
This commit is contained in:
1 parent
31e089fc1d
commit
e800b13f01
1 file changed
+1
-1
@@ -56,7 +56,7 @@ extension NSApplication : ScriptingObjectContainer {
|
||||
|
||||
@objc(accounts)
|
||||
func accounts() -> NSArray {
|
||||
let accounts = AccountManager.shared.activeAccounts
|
||||
let accounts = AccountManager.shared.accounts
|
||||
return accounts.map { ScriptableAccount($0) } as NSArray
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user