Skip to content

Commit

Permalink
feat: Update logo for diip profiles #2785
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Jul 16, 2024
1 parent 33f7bdb commit 55899f6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Binary file added assets/image/diipLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/image/owfBaselineProfileLogo.jpg
Binary file not shown.
3 changes: 1 addition & 2 deletions lib/app/shared/constants/image_strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ class ImageStrings {

static const String imagePath = 'assets/image';
static const String ebsiLogo = '$imagePath/ebsi_logo.png';
static const String owfBaselineProfileLogo =
'$imagePath/owfBaselineProfileLogo.jpg';
static const String diipLogo = '$imagePath/diipLogo.png';

static const String cardMissing = '$imagePath/card_missing.png';
static const String employmentCertificateFront =
Expand Down
4 changes: 2 additions & 2 deletions lib/app/shared/widget/wallet_logo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class WalletLogo extends StatelessWidget {

switch (profileModel.profileType) {
case ProfileType.custom:
case ProfileType.diipv2point1:
case ProfileType.defaultOne:
image = flavorCubit.state == FlavorMode.development
? ImageStrings.appLogoDev
Expand All @@ -37,8 +36,9 @@ class WalletLogo extends StatelessWidget {
image = ImageStrings.ebsiLogo;
case ProfileType.enterprise:
image = profileModel.profileSetting.generalOptions.companyLogo;
case ProfileType.diipv2point1:
case ProfileType.diipv3:
image = ImageStrings.owfBaselineProfileLogo;
image = ImageStrings.diipLogo;
}
return Column(
children: [
Expand Down

0 comments on commit 55899f6

Please sign in to comment.