mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-03 04:17:44 +01:00
Edit some access permissions in Folder.
This commit is contained in:
parent
5ae70758fb
commit
1f677ca600
@ -45,13 +45,13 @@ public final class Folder: DisplayNameProvider, UnreadCountProvider {
|
|||||||
|
|
||||||
// MARK: - Disk Dictionary
|
// MARK: - Disk Dictionary
|
||||||
|
|
||||||
struct Key {
|
private struct Key {
|
||||||
static let name = "name"
|
static let name = "name"
|
||||||
static let unreadCount = "unreadCount"
|
static let unreadCount = "unreadCount"
|
||||||
static let children = "children"
|
static let children = "children"
|
||||||
}
|
}
|
||||||
|
|
||||||
convenience public init?(account: Account, dictionary: [String: Any]) {
|
convenience init?(account: Account, dictionary: [String: Any]) {
|
||||||
|
|
||||||
let name = dictionary[Key.name] as? String
|
let name = dictionary[Key.name] as? String
|
||||||
self.init(account: account, name: name)
|
self.init(account: account, name: name)
|
||||||
@ -65,7 +65,7 @@ public final class Folder: DisplayNameProvider, UnreadCountProvider {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public var dictionary: [String: Any] {
|
var dictionary: [String: Any] {
|
||||||
get {
|
get {
|
||||||
var d = [String: Any]()
|
var d = [String: Any]()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user