chore: Follow up subdirectory for file caches
This commit is contained in:
parent
746aeed770
commit
e7116c97e2
1 changed files with 1 additions and 1 deletions
|
|
@ -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.',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue