Updated onboarding, reformatted files, improved referenced documents view, updated error handling

This commit is contained in:
Anton Stubenbord
2022-11-03 22:15:36 +01:00
parent 2f2312d5f3
commit 40133b6e0e
117 changed files with 1788 additions and 1021 deletions

View File

@@ -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;
}