Skip to content

Commit

Permalink
feat: Leave the possibility to not present sd data #2527
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Mar 22, 2024
1 parent 4f9c597 commit d21df3a
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,11 @@ class SelectiveDisclosurePickView extends StatelessWidget {
child: Tooltip(
message: l10n.credentialPickPresent,
child: MyGradientButton(
onPressed: state.selected.isEmpty
? null
: () => present(
context: context,
selectedSDIndexInJWT: state.selectedSDIndexInJWT,
uri: uri,
),
onPressed: () => present(
context: context,
selectedSDIndexInJWT: state.selectedSDIndexInJWT,
uri: uri,
),
text: l10n.credentialPickPresent,
),
),
Expand Down

0 comments on commit d21df3a

Please sign in to comment.