From 9dad3f05402e0273c28378157cd60652c0b8168f Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Mon, 16 Dec 2019 14:19:55 -0700 Subject: [PATCH] Pass the account metadata to delegate on initialization --- Frameworks/Account/Account.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Frameworks/Account/Account.swift b/Frameworks/Account/Account.swift index a32cad41d..9abc497d6 100644 --- a/Frameworks/Account/Account.swift +++ b/Frameworks/Account/Account.swift @@ -241,11 +241,12 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container, self.delegate = FeedlyAccountDelegate(dataFolder: dataFolder, transport: transport, api: FeedlyAccountDelegate.environment) case .feedWrangler: self.delegate = FeedWranglerAccountDelegate(dataFolder: dataFolder, transport: transport) - default: return nil } + self.delegate.accountMetadata = metadata + self.accountID = accountID self.type = type self.dataFolder = dataFolder