diff --git a/.env b/.env index b5cd5ef5..61b56ac0 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ -APP_VERSION=2.5.3 +APP_VERSION=2.5.4 -APP_BUILD_NUMBER=430 \ No newline at end of file +APP_BUILD_NUMBER=431 \ No newline at end of file diff --git a/fastlane/metadata/android/en-US/changelogs/431.txt b/fastlane/metadata/android/en-US/changelogs/431.txt new file mode 100644 index 00000000..d6d542ff --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/431.txt @@ -0,0 +1 @@ +- Optimized PDF export QR code \ No newline at end of file diff --git a/fastlane/metadata/android/fr-FR/changelogs/431.txt b/fastlane/metadata/android/fr-FR/changelogs/431.txt new file mode 100644 index 00000000..02fcb56f --- /dev/null +++ b/fastlane/metadata/android/fr-FR/changelogs/431.txt @@ -0,0 +1 @@ +- Optimisé le QR code d'export PDF \ No newline at end of file diff --git a/src/screens/Invoice/Invoice.tsx b/src/screens/Invoice/Invoice.tsx index 10ca5a13..1f06d50c 100644 --- a/src/screens/Invoice/Invoice.tsx +++ b/src/screens/Invoice/Invoice.tsx @@ -745,8 +745,8 @@ export const Invoice = () => { const downloadPdfLink = useMemo( () => - `${apiRootUrl}/pdf/${invoiceId}?lng=${i18n.language}&tz=${Intl.DateTimeFormat().resolvedOptions().timeZone}`, - [i18n.language, invoiceId] + `${apiRootUrl}/pdf/${invoiceId}?&tz=${Intl.DateTimeFormat().resolvedOptions().timeZone}`, + [invoiceId] ); const getPageContainerProps = useCallback(