feat: finished new logging feature

This commit is contained in:
Anton Stubenbord
2023-10-12 17:50:13 +02:00
parent f0c3ced804
commit 7d1c0dffe4
37 changed files with 1446 additions and 720 deletions

View File

@@ -227,9 +227,10 @@ class _ScannerPageState extends State<ScannerPage>
if (!isGranted) {
return;
}
final file = await FileService.allocateTemporaryFile(
final file = await FileService.instance.allocateTemporaryFile(
PaperlessDirectoryType.scans,
extension: 'jpeg',
create: true,
);
if (kDebugMode) {
dev.log('[ScannerPage] Created temporary file: ${file.path}');