mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Merge pull request #746 from stonerl/SwiftyJSON-fixes
add missing SwiftyJSON arguments
This commit is contained in:
commit
146da6b9cc
@ -13,6 +13,7 @@ struct ChannelPlaylistsCacheModel: CacheModel {
|
|||||||
var storage = try? Storage<String, JSON>(
|
var storage = try? Storage<String, JSON>(
|
||||||
diskConfig: Self.diskConfig,
|
diskConfig: Self.diskConfig,
|
||||||
memoryConfig: Self.memoryConfig,
|
memoryConfig: Self.memoryConfig,
|
||||||
|
fileManager: FileManager.default,
|
||||||
transformer: BaseCacheModel.jsonTransformer
|
transformer: BaseCacheModel.jsonTransformer
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ struct ChannelsCacheModel: CacheModel {
|
|||||||
let storage = try? Storage<String, JSON>(
|
let storage = try? Storage<String, JSON>(
|
||||||
diskConfig: Self.diskConfig,
|
diskConfig: Self.diskConfig,
|
||||||
memoryConfig: Self.memoryConfig,
|
memoryConfig: Self.memoryConfig,
|
||||||
|
fileManager: FileManager.default,
|
||||||
transformer: BaseCacheModel.jsonTransformer
|
transformer: BaseCacheModel.jsonTransformer
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ struct FeedCacheModel: CacheModel {
|
|||||||
let storage = try? Storage<String, JSON>(
|
let storage = try? Storage<String, JSON>(
|
||||||
diskConfig: Self.diskConfig,
|
diskConfig: Self.diskConfig,
|
||||||
memoryConfig: Self.memoryConfig,
|
memoryConfig: Self.memoryConfig,
|
||||||
|
fileManager: FileManager.default,
|
||||||
transformer: BaseCacheModel.jsonTransformer
|
transformer: BaseCacheModel.jsonTransformer
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ struct PlaylistsCacheModel: CacheModel {
|
|||||||
let storage = try? Storage<String, JSON>(
|
let storage = try? Storage<String, JSON>(
|
||||||
diskConfig: Self.diskConfig,
|
diskConfig: Self.diskConfig,
|
||||||
memoryConfig: Self.memoryConfig,
|
memoryConfig: Self.memoryConfig,
|
||||||
|
fileManager: FileManager.default,
|
||||||
transformer: BaseCacheModel.jsonTransformer
|
transformer: BaseCacheModel.jsonTransformer
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@ final class SubscribedChannelsModel: ObservableObject, CacheModel {
|
|||||||
let storage = try? Storage<String, JSON>(
|
let storage = try? Storage<String, JSON>(
|
||||||
diskConfig: SubscribedChannelsModel.diskConfig,
|
diskConfig: SubscribedChannelsModel.diskConfig,
|
||||||
memoryConfig: SubscribedChannelsModel.memoryConfig,
|
memoryConfig: SubscribedChannelsModel.memoryConfig,
|
||||||
|
fileManager: FileManager.default,
|
||||||
transformer: BaseCacheModel.jsonTransformer
|
transformer: BaseCacheModel.jsonTransformer
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ struct VideosCacheModel: CacheModel {
|
|||||||
let storage = try? Storage<String, JSON>(
|
let storage = try? Storage<String, JSON>(
|
||||||
diskConfig: Self.diskConfig,
|
diskConfig: Self.diskConfig,
|
||||||
memoryConfig: Self.memoryConfig,
|
memoryConfig: Self.memoryConfig,
|
||||||
|
fileManager: FileManager.default,
|
||||||
transformer: BaseCacheModel.jsonTransformer
|
transformer: BaseCacheModel.jsonTransformer
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user