diff --git a/lib/services/cover_cache_manager.dart b/lib/services/cover_cache_manager.dart index ed2e215f..37d2fc3f 100644 --- a/lib/services/cover_cache_manager.dart +++ b/lib/services/cover_cache_manager.dart @@ -51,8 +51,8 @@ class CoverCacheManager { _cacheKey, stalePeriod: _maxCacheAge, maxNrOfCacheObjects: _maxCacheObjects, - // Store database in the same persistent directory - repo: JsonCacheInfoRepository(databaseName: _cacheKey, path: _cachePath), + // Use path only (not databaseName) to store database in persistent directory + repo: JsonCacheInfoRepository(path: _cachePath), fileSystem: IOFileSystem(_cachePath!), fileService: HttpFileService(), ),