chore: Follow up subdirectory for file caches

This commit is contained in:
Christian Kußowski 2026-02-27 19:07:33 +01:00
commit e7116c97e2
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -65,7 +65,7 @@ Future<MatrixSdkDatabase> _constructDatabase(String clientName) async {
final temporaryDirectory = await getTemporaryDirectory(); final temporaryDirectory = await getTemporaryDirectory();
fileStorageLocation = await Directory( fileStorageLocation = await Directory(
join(temporaryDirectory.path, 'fluffychat_download_cache'), join(temporaryDirectory.path, 'fluffychat_download_cache'),
).create(); ).create(recursive: true);
} on MissingPlatformDirectoryException catch (_) { } on MissingPlatformDirectoryException catch (_) {
Logs().w( Logs().w(
'No temporary directory for file cache available on this platform.', 'No temporary directory for file cache available on this platform.',