mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-25 01:01:21 +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)
|
@objc(accounts)
|
||||||
func accounts() -> NSArray {
|
func accounts() -> NSArray {
|
||||||
let accounts = AccountManager.shared.activeAccounts
|
let accounts = AccountManager.shared.accounts
|
||||||
return accounts.map { ScriptableAccount($0) } as NSArray
|
return accounts.map { ScriptableAccount($0) } as NSArray
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user