mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-16 14:12:41 -06:00
feat: finished new logging feature
This commit is contained in:
@@ -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}');
|
||||
|
||||
Reference in New Issue
Block a user