From 2e4fac9ff2914c3dd648232896849be5103d3d8c Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Tue, 20 Jan 2026 14:10:02 +0800 Subject: [PATCH] fix other receipts disappear when replacing one of the receipt --- src/pages/iou/request/step/IOURequestStepScan/index.native.tsx | 2 +- src/pages/iou/request/step/IOURequestStepScan/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/iou/request/step/IOURequestStepScan/index.native.tsx b/src/pages/iou/request/step/IOURequestStepScan/index.native.tsx index d467d063903e..df76dddbade4 100644 --- a/src/pages/iou/request/step/IOURequestStepScan/index.native.tsx +++ b/src/pages/iou/request/step/IOURequestStepScan/index.native.tsx @@ -634,7 +634,7 @@ function IOURequestStepScan({ return; } - if (!isMultiScanEnabled) { + if (!isMultiScanEnabled && isStartingScan) { removeDraftTransactions(true); } diff --git a/src/pages/iou/request/step/IOURequestStepScan/index.tsx b/src/pages/iou/request/step/IOURequestStepScan/index.tsx index 522a6c5cd800..276e3690d33c 100644 --- a/src/pages/iou/request/step/IOURequestStepScan/index.tsx +++ b/src/pages/iou/request/step/IOURequestStepScan/index.tsx @@ -652,7 +652,7 @@ function IOURequestStepScan({ return; } - if (!isMultiScanEnabled) { + if (!isMultiScanEnabled && isStartingScan) { removeDraftTransactions(true); }