Skip to content

Commit

Permalink
refactor: Solve external issuer issue #2551
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Apr 3, 2024
1 parent ac5397a commit 223647b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
Binary file added assets/image/blank_transparent_get_card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions lib/app/shared/constants/image_strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,7 @@ class ImageStrings {
static const String receiveSqure = '$imagePath/receive-square.png';

static const String linkedInBanner = '$imagePath/linkedin_banner.png';

static const String blankGetCard =
'$imagePath/blank_transparent_get_card.png';
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,15 @@ class DefaultDisplayDescriptor extends StatelessWidget {
padding: EdgeInsets.zero,
child: AspectRatio(
aspectRatio: Sizes.credentialAspectRatio,
child: DefaultCardBody(
credentialModel: credentialModel,
descriptionMaxLine: descriptionMaxLine,
displyalDescription: displyalDescription,
child: Stack(
children: [
DefaultCardBody(
credentialModel: credentialModel,
descriptionMaxLine: descriptionMaxLine,
displyalDescription: displyalDescription,
),
Image.asset(ImageStrings.blankGetCard),
],
),
),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class DummyCredentialImage extends StatelessWidget {
),
data: const {},
image: '',
display: displayExternalIssuer,
shareLink: '',
jwt: null,
format: 'ldp_vc',
Expand Down

0 comments on commit 223647b

Please sign in to comment.