chore: Follow up subdirectory for file caches

This commit is contained in:
Christian Kußowski 2026-02-27 19:07:33 +01:00
parent 746aeed770
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();
fileStorageLocation = await Directory(
join(temporaryDirectory.path, 'fluffychat_download_cache'),
).create();
).create(recursive: true);
} on MissingPlatformDirectoryException catch (_) {
Logs().w(
'No temporary directory for file cache available on this platform.',