Edit some access permissions in Folder.

This commit is contained in:
Brent Simmons 2017-09-30 11:00:18 -07:00
parent 5ae70758fb
commit 1f677ca600

View File

@ -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]()