|
|
@ -109,10 +109,10 @@ class FlutterMatrixHiveStore extends FamedlySdkHiveDatabase {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
return (await getApplicationSupportDirectory()).path;
|
|
|
|
return (await getApplicationSupportDirectory()).path;
|
|
|
|
} on MissingPlatformDirectoryException {
|
|
|
|
} catch (_) {
|
|
|
|
return (await getApplicationDocumentsDirectory()).path;
|
|
|
|
return (await getApplicationDocumentsDirectory()).path;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} on MissingPlatformDirectoryException {
|
|
|
|
} catch (_) {
|
|
|
|
return (await getDownloadsDirectory()).path;
|
|
|
|
return (await getDownloadsDirectory()).path;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|