Skip to content

Commit

Permalink
refactor: Remove specified data #2894
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Sep 19, 2024
1 parent 4e00b3c commit c968b8c
Showing 1 changed file with 45 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,51 +77,51 @@ class DeveloperDetails extends StatelessWidget {
valueColor: valueColor,
showVertically: showVertically,
),
CredentialField(
padding: const EdgeInsets.only(top: 10),
title: l10n.issuerDID,
value: issuerDid,
titleColor: titleColor,
valueColor: valueColor,
showVertically: showVertically,
),
if (credentialModel.credentialPreview.credentialSubjectModel
is! WalletCredentialModel &&
subjectDid.isNotEmpty)
CredentialField(
padding: const EdgeInsets.only(top: 10),
title: l10n.subjectDID,
value: subjectDid,
titleColor: titleColor,
valueColor: valueColor,
showVertically: showVertically,
),
CredentialField(
padding: const EdgeInsets.only(top: 10),
title: l10n.type,
value: type,
titleColor: titleColor,
valueColor: valueColor,
showVertically: showVertically,
),
if (statusListUri != null)
CredentialField(
padding: const EdgeInsets.only(top: 10),
title: l10n.statusList,
value: statusListUri.toString(),
titleColor: titleColor,
valueColor: valueColor,
showVertically: false,
),
if (statusListIndex != null)
CredentialField(
padding: const EdgeInsets.only(top: 10),
title: l10n.statusListIndex,
value: statusListIndex.toString(),
titleColor: titleColor,
valueColor: valueColor,
showVertically: false,
),
// CredentialField(
// padding: const EdgeInsets.only(top: 10),
// title: l10n.issuerDID,
// value: issuerDid,
// titleColor: titleColor,
// valueColor: valueColor,
// showVertically: showVertically,
// ),
// if (credentialModel.credentialPreview.credentialSubjectModel
// is! WalletCredentialModel &&
// subjectDid.isNotEmpty)
// CredentialField(
// padding: const EdgeInsets.only(top: 10),
// title: l10n.subjectDID,
// value: subjectDid,
// titleColor: titleColor,
// valueColor: valueColor,
// showVertically: showVertically,
// ),
// CredentialField(
// padding: const EdgeInsets.only(top: 10),
// title: l10n.type,
// value: type,
// titleColor: titleColor,
// valueColor: valueColor,
// showVertically: showVertically,
// ),
// if (statusListUri != null)
// CredentialField(
// padding: const EdgeInsets.only(top: 10),
// title: l10n.statusList,
// value: statusListUri.toString(),
// titleColor: titleColor,
// valueColor: valueColor,
// showVertically: false,
// ),
// if (statusListIndex != null)
// CredentialField(
// padding: const EdgeInsets.only(top: 10),
// title: l10n.statusListIndex,
// value: statusListIndex.toString(),
// titleColor: titleColor,
// valueColor: valueColor,
// showVertically: false,
// ),
if (header != null)
CredentialField(
padding: const EdgeInsets.only(top: 10),
Expand Down

0 comments on commit c968b8c

Please sign in to comment.