mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Wire up the account name for scripting.
This commit is contained in:
@@ -35,7 +35,17 @@ class ScriptableAccount: NSObject, UniqueIdScriptingObject, ScriptingObjectConta
|
||||
account.isActive = newValue
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@objc(scriptingName)
|
||||
var scriptingName: NSString {
|
||||
get {
|
||||
return account.nameForDisplay as NSString
|
||||
}
|
||||
set {
|
||||
account.name = newValue as String
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: --- ScriptingObject protocol ---
|
||||
|
||||
var scriptingKey: String {
|
||||
|
||||
Reference in New Issue
Block a user