mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-07 09:15:49 -06:00
feat: Add setting to always upload scans as pdf
This commit is contained in:
@@ -254,6 +254,9 @@ class _ScannerPageState extends State<ScannerPage>
|
||||
void _onPrepareDocumentUpload(BuildContext context) async {
|
||||
final file = await _assembleFileBytes(
|
||||
context.read<DocumentScannerCubit>().state,
|
||||
forcePdf: Hive.box<GlobalSettings>(HiveBoxes.globalSettings)
|
||||
.getValue()!
|
||||
.enforceSinglePagePdfUpload,
|
||||
);
|
||||
final uploadResult = await pushDocumentUploadPreparationPage(
|
||||
context,
|
||||
|
||||
Reference in New Issue
Block a user