Skip to content

Commit

Permalink
feat: Update VC not available screen update #3212
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Dec 20, 2024
1 parent 2cb1495 commit 955b994
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ class RequiredCredentialNotFound extends StatelessWidget {
Widget build(BuildContext context) {
final l10n = context.l10n;
return BasePage(
title: l10n.credentialPickTitle,
titleAlignment: Alignment.topCenter,
titleLeading: const BackLeadingButton(),
scrollView: false,
padding: const EdgeInsets.only(
right: Sizes.spaceNormal,
Expand All @@ -21,50 +19,25 @@ class RequiredCredentialNotFound extends StatelessWidget {
body: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
l10n.requiredCredentialNotFoundTitle,
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.titleMedium,
),
const Spacer(
flex: 3,
),
Image.asset(
ImageStrings.cardMissing,
width: 127,
fit: BoxFit.fitWidth,
),
const Spacer(
flex: 1,
),
const SizedBox(height: 30),
Text(
l10n.requiredCredentialNotFoundSubTitle,
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.headlineSmall,
),
const Spacer(
flex: 1,
),
Text(
l10n.requiredCredentialNotFoundDescription,
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.titleMedium,
),
Text(
AltMeStrings.appSupportMail,
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.headlineSmall,
),
const Spacer(
flex: 3,
),
],
),
navigation: Padding(
padding: const EdgeInsets.all(Sizes.spaceXSmall),
child: MyElevatedButton(
text: l10n.backToHome,
text: l10n.back,
onPressed: () {
Navigator.popUntil(
context,
Expand Down
3 changes: 2 additions & 1 deletion lib/l10n/arb/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -1174,5 +1174,6 @@
"operation": "Operation",
"chooseYourSSIProfileOrCustomizeYourOwn": "Choose your wallet profile or customize your own",
"recoveryPhraseIncorrectErrorMessage": "Please try again with correct order.",
"invalidCode": "Invalid code"
"invalidCode": "Invalid code",
"back": "Back"
}
10 changes: 8 additions & 2 deletions lib/l10n/untranslated.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"operation",
"chooseYourSSIProfileOrCustomizeYourOwn",
"recoveryPhraseIncorrectErrorMessage",
"invalidCode"
"invalidCode",
"back"
],

"es": [
Expand All @@ -20,6 +21,11 @@
"operation",
"chooseYourSSIProfileOrCustomizeYourOwn",
"recoveryPhraseIncorrectErrorMessage",
"invalidCode"
"invalidCode",
"back"
],

"fr": [
"back"
]
}

0 comments on commit 955b994

Please sign in to comment.