Update form field with scanned barcode

This commit is contained in:
Oliver 2021-10-03 11:41:16 +11:00
parent 6288088a65
commit f75aa4ca0e
2 changed files with 9 additions and 2 deletions

View file

@ -511,9 +511,16 @@ class UniqueBarcodeHandler extends BarcodeHandler {
);
} else {
successTone();
// Close the barcode scanner
Navigator.of(context).pop();
showSnackIcon(
L10().barcodeAssigned,
success: true
);
callback(hash);
}
}