From cecfe9eeed2999f144841e5b568acb18c7627b46 Mon Sep 17 00:00:00 2001 From: Jimmy DJABALI Date: Thu, 24 Apr 2025 16:38:50 +0200 Subject: [PATCH 1/2] fix atm unit currency --- src/hooks/usePostInvoice.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/usePostInvoice.ts b/src/hooks/usePostInvoice.ts index 9d0c2290..7a6430b2 100644 --- a/src/hooks/usePostInvoice.ts +++ b/src/hooks/usePostInvoice.ts @@ -156,7 +156,7 @@ export const usePostInvoice = () => { replace: true, state: { isLocalInvoice, - unit: currency, + unit: unit || currency, decimalFiat, customNote: description } @@ -171,7 +171,7 @@ export const usePostInvoice = () => { status: "open", time: Math.round(new Date().getTime() / 1000), input: { - unit: currency, + unit: unit || currency, amount: decimalFiat }, tag: "invoice-tpos", From 295d43086cb57555157d472f44346faab2e111eb Mon Sep 17 00:00:00 2001 From: Jimmy DJABALI Date: Thu, 24 Apr 2025 16:40:17 +0200 Subject: [PATCH 2/2] bump version --- .env | 4 ++-- fastlane/metadata/android/en-US/changelogs/428.txt | 1 + fastlane/metadata/android/fr-FR/changelogs/428.txt | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 fastlane/metadata/android/en-US/changelogs/428.txt create mode 100644 fastlane/metadata/android/fr-FR/changelogs/428.txt diff --git a/.env b/.env index 3115b7dd..46888063 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ -APP_VERSION=2.5.1 +APP_VERSION=2.5.2 -APP_BUILD_NUMBER=427 \ No newline at end of file +APP_BUILD_NUMBER=428 \ No newline at end of file diff --git a/fastlane/metadata/android/en-US/changelogs/428.txt b/fastlane/metadata/android/en-US/changelogs/428.txt new file mode 100644 index 00000000..8a531769 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/428.txt @@ -0,0 +1 @@ +- Sometimes the custom unit currency was not correctly displayed \ No newline at end of file diff --git a/fastlane/metadata/android/fr-FR/changelogs/428.txt b/fastlane/metadata/android/fr-FR/changelogs/428.txt new file mode 100644 index 00000000..3a8ef22c --- /dev/null +++ b/fastlane/metadata/android/fr-FR/changelogs/428.txt @@ -0,0 +1 @@ +- Parfois la devise personnalisée n'était pas correctement affichée \ No newline at end of file