From 86f6e8bac331ec4f2bdc9a6ca08dc13d6565da38 Mon Sep 17 00:00:00 2001 From: Chukwuleta Tobechi <47084273+TChukwuleta@users.noreply.github.com> Date: Fri, 8 Aug 2025 06:50:14 +0100 Subject: [PATCH] Fix: Update BTCPay Server currencies and fix dark mode bug (#22887) * Update BTCPay Server currencies * fix type --------- Co-authored-by: Peer Richelsen Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com> --- .../EventTypeAppSettingsInterface.tsx | 6 +++- .../btcpayserver/lib/currencyOptions.ts | 32 +++++++++++++++++-- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/packages/app-store/btcpayserver/components/EventTypeAppSettingsInterface.tsx b/packages/app-store/btcpayserver/components/EventTypeAppSettingsInterface.tsx index b411d5a636..80129b2e36 100644 --- a/packages/app-store/btcpayserver/components/EventTypeAppSettingsInterface.tsx +++ b/packages/app-store/btcpayserver/components/EventTypeAppSettingsInterface.tsx @@ -60,9 +60,13 @@ const EventTypeAppSettingsInterface: EventTypeAppSettingsComponent = ({ ) : ( requirePayment && ( <> -
+
+ { if (zeroDecimalCurrencies.includes(currency.toUpperCase())) { @@ -17,4 +43,4 @@ export const convertFromSmallestToPresentableCurrencyUnit = (amount: number, cur return amount; } return amount / 100; -}; +}; \ No newline at end of file