Make feed.init and FeedMetadata internal.

This commit is contained in:
Brent Simmons 2019-03-16 16:39:16 -07:00
parent 3e52bb9c24
commit e11fc1dfad
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ public final class Feed: DisplayNameProvider, Renamable, UnreadCountProvider, Ha
// MARK: - Init // MARK: - Init
public init(account: Account, url: String, feedID: String, metadata: FeedMetadata) { init(account: Account, url: String, feedID: String, metadata: FeedMetadata) {
self.account = account self.account = account
self.accountID = account.accountID self.accountID = account.accountID
self.url = url self.url = url

View File

@ -14,7 +14,7 @@ protocol FeedMetadataDelegate: class {
func valueDidChange(_ feedMetadata: FeedMetadata, key: FeedMetadata.CodingKeys) func valueDidChange(_ feedMetadata: FeedMetadata, key: FeedMetadata.CodingKeys)
} }
public final class FeedMetadata: Codable { final class FeedMetadata: Codable {
let feedID: String let feedID: String