diff --git a/lib/dashboard/home/tab_bar/credentials/present/pick/credential_manifest/widgets/required_credential_not_found.dart b/lib/dashboard/home/tab_bar/credentials/present/pick/credential_manifest/widgets/required_credential_not_found.dart index 5d12fe2f7..7e209bbeb 100644 --- a/lib/dashboard/home/tab_bar/credentials/present/pick/credential_manifest/widgets/required_credential_not_found.dart +++ b/lib/dashboard/home/tab_bar/credentials/present/pick/credential_manifest/widgets/required_credential_not_found.dart @@ -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, @@ -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, diff --git a/lib/l10n/arb/app_en.arb b/lib/l10n/arb/app_en.arb index def351618..94edcb5dc 100644 --- a/lib/l10n/arb/app_en.arb +++ b/lib/l10n/arb/app_en.arb @@ -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" } diff --git a/lib/l10n/untranslated.json b/lib/l10n/untranslated.json index 7fe7715e2..ef971b7fc 100644 --- a/lib/l10n/untranslated.json +++ b/lib/l10n/untranslated.json @@ -8,7 +8,8 @@ "operation", "chooseYourSSIProfileOrCustomizeYourOwn", "recoveryPhraseIncorrectErrorMessage", - "invalidCode" + "invalidCode", + "back" ], "es": [ @@ -20,6 +21,11 @@ "operation", "chooseYourSSIProfileOrCustomizeYourOwn", "recoveryPhraseIncorrectErrorMessage", - "invalidCode" + "invalidCode", + "back" + ], + + "fr": [ + "back" ] }