Pass the account metadata to delegate on initialization
This commit is contained in:
parent
58b24f3349
commit
9dad3f0540
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue