mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-24 00:30:51 +01:00
The accounts property returns all accounts.
This commit is contained in:
parent
31e089fc1d
commit
e800b13f01
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user