From c033df40a866e6684cea157439a33097b50b0e2d Mon Sep 17 00:00:00 2001 From: Simone Date: Fri, 9 Oct 2020 11:45:19 +0200 Subject: [PATCH] fix(Android): [#175090703] CTA text not aligned in the Android Bonus_Request_Information screen (#2270) * [#175090703] reduce button font size * [#175090703] change bonus request cta label Co-authored-by: fabriziofff Co-authored-by: Matteo Boschi --- locales/en/index.yml | 2 +- locales/it/index.yml | 2 +- .../bonus/common/components/BonusInformationComponent.tsx | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/locales/en/index.yml b/locales/en/index.yml index 35c25d36258..f4002944eea 100644 --- a/locales/en/index.yml +++ b/locales/en/index.yml @@ -1443,7 +1443,7 @@ bonus: checkBonusEligibility: loading: Checking bonus eligibility cta: - requestBonus: Request + requestBonus: Request Bonus cancelRequest: Cancel the request qrCode: QR code copyCode: Code copy diff --git a/locales/it/index.yml b/locales/it/index.yml index 4750b3a56d2..a7a1244c3ca 100644 --- a/locales/it/index.yml +++ b/locales/it/index.yml @@ -1475,7 +1475,7 @@ bonus: checkBonusEligibility: loading: Verifico l'idoneità per l'accesso al bonus cta: - requestBonus: Richiedi + requestBonus: Richiedi Bonus cancelRequest: Annulla la richiesta qrCode: QR code copyCode: Copia codice diff --git a/ts/features/bonus/common/components/BonusInformationComponent.tsx b/ts/features/bonus/common/components/BonusInformationComponent.tsx index 0d3de5e6550..2098841225f 100644 --- a/ts/features/bonus/common/components/BonusInformationComponent.tsx +++ b/ts/features/bonus/common/components/BonusInformationComponent.tsx @@ -110,9 +110,7 @@ const BonusInformationComponent: React.FunctionComponent = props => { block: true, primary: true, onPress: props.onConfirm, - title: `${I18n.t("bonus.bonusVacanze.cta.requestBonus")} ${ - bonusTypeLocalizedContent.name - }` + title: I18n.t("bonus.bonusVacanze.cta.requestBonus") }; const handleModalPress = (tos: string) =>