fixes before build 2
This commit is contained in:
@@ -69,7 +69,7 @@ class _ScanScreenState extends State<ScanScreen> {
|
||||
try {
|
||||
final data = await rootBundle.load(kSampleReceiptAsset);
|
||||
final file = File(
|
||||
'${Directory.systemTemp.path}/receipity_sample_receipt.jpeg',
|
||||
'${Directory.systemTemp.path}/groci_sample_receipt.jpeg',
|
||||
);
|
||||
await file.writeAsBytes(data.buffer.asUint8List(), flush: true);
|
||||
if (!mounted) return;
|
||||
|
||||
Reference in New Issue
Block a user