From 0e74d03fbefffeae3f657646aca92fbd6afcbea4 Mon Sep 17 00:00:00 2001 From: hawkbee1 Date: Thu, 26 Oct 2023 21:10:59 +0200 Subject: [PATCH] Remove unecessary increment when checking credential availability for Presentation request --- .../qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/dashboard/qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart b/lib/dashboard/qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart index 1e2365a72..a00dc5e56 100644 --- a/lib/dashboard/qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart +++ b/lib/dashboard/qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart @@ -763,9 +763,6 @@ class QRCodeScanCubit extends Cubit { credentialList: List.from(credentialList), inputDescriptorIndex: index, ); - - index++; - if (filteredCredentialList.isEmpty) { return false; }