diff --git a/locales/en/index.yml b/locales/en/index.yml index 07201ba0bd7..ed462bc8f3f 100644 --- a/locales/en/index.yml +++ b/locales/en/index.yml @@ -3184,6 +3184,8 @@ features: failure: FALLITA success: "" receipt: + a11y: + preview: Receipt preview in PDF format loading: "We are hiding your receipt..." title: pagoPA Receipt shareButton: Save or share diff --git a/locales/it/index.yml b/locales/it/index.yml index 24651653994..7f8bea4787b 100644 --- a/locales/it/index.yml +++ b/locales/it/index.yml @@ -3184,6 +3184,8 @@ features: failure: FALLITA success: "" receipt: + a11y: + preview: Anteprima ricevuta in formato PDF loading: Stiamo nascondendo la ricevuta... title: Ricevuta pagoPA shareButton: Salva o condividi diff --git a/ts/features/payments/receipts/screens/ReceiptPreviewScreen.tsx b/ts/features/payments/receipts/screens/ReceiptPreviewScreen.tsx index 535608f9723..8af23016b6e 100644 --- a/ts/features/payments/receipts/screens/ReceiptPreviewScreen.tsx +++ b/ts/features/payments/receipts/screens/ReceiptPreviewScreen.tsx @@ -3,7 +3,11 @@ import * as pot from "@pagopa/ts-commons/lib/pot"; import { Platform, View } from "react-native"; import Share from "react-native-share"; -import { IOColors, IOStyles } from "@pagopa/io-app-design-system"; +import { + FooterActions, + IOColors, + IOStyles +} from "@pagopa/io-app-design-system"; import Pdf from "react-native-pdf"; import { RouteProp } from "@react-navigation/native"; import { PaymentsReceiptParamsList } from "../navigation/params"; @@ -13,10 +17,7 @@ import { OperationResultScreenContent } from "../../../../components/screens/Ope import I18n from "../../../../i18n"; import { useHeaderSecondLevel } from "../../../../hooks/useHeaderSecondLevel"; import { RECEIPT_DOCUMENT_TYPE_PREFIX } from "../utils"; -import { - FooterActions, - FooterActionsMeasurements -} from "../../../../components/ui/FooterActions"; +import { FooterActionsMeasurements } from "../../../../components/ui/FooterActions"; import * as analytics from "../analytics"; import { paymentAnalyticsDataSelector } from "../../history/store/selectors"; @@ -82,18 +83,25 @@ const ReceiptPreviewScreen = () => { paddingBottom: footerActionsMeasurements.safeBottomAreaHeight }} > - + + +