diff --git a/Model/Cache/ChannelPlaylistsCacheModel.swift b/Model/Cache/ChannelPlaylistsCacheModel.swift index e9cbc211..3b5c1fa2 100644 --- a/Model/Cache/ChannelPlaylistsCacheModel.swift +++ b/Model/Cache/ChannelPlaylistsCacheModel.swift @@ -13,6 +13,7 @@ struct ChannelPlaylistsCacheModel: CacheModel { var storage = try? Storage( diskConfig: Self.diskConfig, memoryConfig: Self.memoryConfig, + fileManager: FileManager.default, transformer: BaseCacheModel.jsonTransformer ) diff --git a/Model/Cache/ChannelsCacheModel.swift b/Model/Cache/ChannelsCacheModel.swift index a5d23c2f..9e25c97a 100644 --- a/Model/Cache/ChannelsCacheModel.swift +++ b/Model/Cache/ChannelsCacheModel.swift @@ -13,6 +13,7 @@ struct ChannelsCacheModel: CacheModel { let storage = try? Storage( diskConfig: Self.diskConfig, memoryConfig: Self.memoryConfig, + fileManager: FileManager.default, transformer: BaseCacheModel.jsonTransformer ) diff --git a/Model/Cache/FeedCacheModel.swift b/Model/Cache/FeedCacheModel.swift index bdea73fb..eb6eb822 100644 --- a/Model/Cache/FeedCacheModel.swift +++ b/Model/Cache/FeedCacheModel.swift @@ -14,6 +14,7 @@ struct FeedCacheModel: CacheModel { let storage = try? Storage( diskConfig: Self.diskConfig, memoryConfig: Self.memoryConfig, + fileManager: FileManager.default, transformer: BaseCacheModel.jsonTransformer ) diff --git a/Model/Cache/PlaylistsCacheModel.swift b/Model/Cache/PlaylistsCacheModel.swift index 6201f4c0..8d9c58f0 100644 --- a/Model/Cache/PlaylistsCacheModel.swift +++ b/Model/Cache/PlaylistsCacheModel.swift @@ -14,6 +14,7 @@ struct PlaylistsCacheModel: CacheModel { let storage = try? Storage( diskConfig: Self.diskConfig, memoryConfig: Self.memoryConfig, + fileManager: FileManager.default, transformer: BaseCacheModel.jsonTransformer ) diff --git a/Model/Cache/SubscribedChannelsModel.swift b/Model/Cache/SubscribedChannelsModel.swift index d7209fca..e5f271cb 100644 --- a/Model/Cache/SubscribedChannelsModel.swift +++ b/Model/Cache/SubscribedChannelsModel.swift @@ -15,6 +15,7 @@ final class SubscribedChannelsModel: ObservableObject, CacheModel { let storage = try? Storage( diskConfig: SubscribedChannelsModel.diskConfig, memoryConfig: SubscribedChannelsModel.memoryConfig, + fileManager: FileManager.default, transformer: BaseCacheModel.jsonTransformer ) diff --git a/Model/Cache/VideosCacheModel.swift b/Model/Cache/VideosCacheModel.swift index 840bd25c..effc1de3 100644 --- a/Model/Cache/VideosCacheModel.swift +++ b/Model/Cache/VideosCacheModel.swift @@ -13,6 +13,7 @@ struct VideosCacheModel: CacheModel { let storage = try? Storage( diskConfig: Self.diskConfig, memoryConfig: Self.memoryConfig, + fileManager: FileManager.default, transformer: BaseCacheModel.jsonTransformer )