Skip to content

Commit

Permalink
fix: Format error issue fix #3024
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Oct 30, 2024
1 parent 324f399 commit ccca75f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/scan/cubit/scan_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -733,10 +733,11 @@ class ScanCubit extends Cubit<ScanState> {
filterList: filterList,
credentialList: [credentialsToBePresented[i]],
);
final format = getVcFormatType(credential[0].getFormat);

Map<String, dynamic>? pathNested;

if (credential.isNotEmpty) {
final format = getVcFormatType(credential[0].getFormat);
final Map<String, dynamic> descriptor = {
'id': inputDescriptor.id,
'format': format.vpValue,
Expand Down

0 comments on commit ccca75f

Please sign in to comment.