From 1f677ca600c5cd87958eb14c62ff9b4dcc3335f8 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 30 Sep 2017 11:00:18 -0700 Subject: [PATCH] Edit some access permissions in Folder. --- Frameworks/Account/Folder.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Frameworks/Account/Folder.swift b/Frameworks/Account/Folder.swift index 08203976e..e2272e245 100644 --- a/Frameworks/Account/Folder.swift +++ b/Frameworks/Account/Folder.swift @@ -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]()