feat: Fix documents not being displayed

This commit is contained in:
Anton Stubenbord
2024-01-18 21:49:12 +01:00
parent 2f72ef4317
commit 2a10b5cc55
9 changed files with 443 additions and 339 deletions

View File

@@ -121,7 +121,7 @@ class _ScannerPageState extends State<ScannerPage>
? () => Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => DocumentView(
documentBytes: _assembleFileBytes(
bytes: _assembleFileBytes(
state.scans,
forcePdf: true,
).then((file) => file.bytes),