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
1 changed files with 3 additions and 3 deletions

View File

@ -45,13 +45,13 @@ public final class Folder: DisplayNameProvider, UnreadCountProvider {
// MARK: - Disk Dictionary
struct Key {
private struct Key {
static let name = "name"
static let unreadCount = "unreadCount"
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
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 {
var d = [String: Any]()