mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Finish to fix notices
This commit is contained in:
@ -32,8 +32,6 @@ Future<BytesFile?> pickImage(BuildContext context,
|
||||
/// Throws in case of failure
|
||||
Future<File> generateTemporaryFile() async {
|
||||
final tempDir = await getTemporaryDirectory();
|
||||
if (tempDir == null)
|
||||
throw Exception("Could not generate temporary directory!");
|
||||
return File(path.join(tempDir.path, randomString(15, from: 65, to: 90)));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user