mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-09 08:08:14 -06:00
Updated onboarding, reformatted files, improved referenced documents view, updated error handling
This commit is contained in:
@@ -37,7 +37,8 @@ String? formatDateNullable(DateTime? date) {
|
||||
Future<String> writeToFile(Uint8List data) async {
|
||||
Directory tempDir = await getTemporaryDirectory();
|
||||
String tempPath = tempDir.path;
|
||||
var filePath = tempPath + '/file_01.tmp'; // file_01.tmp is dump file, can be anything
|
||||
var filePath =
|
||||
tempPath + '/file_01.tmp'; // file_01.tmp is dump file, can be anything
|
||||
return (await File(filePath).writeAsBytes(data)).path;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user