mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-31 19:24:55 +01:00
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…
x
Reference in New Issue
Block a user