From 748d70e34fc37d10d7e768b4b4be5674d83ec81e Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 27 Mar 2023 10:38:50 -0600 Subject: [PATCH] tx card decimal places fix --- lib/widgets/transaction_card.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/transaction_card.dart b/lib/widgets/transaction_card.dart index 47793d106..b4d74e213 100644 --- a/lib/widgets/transaction_card.dart +++ b/lib/widgets/transaction_card.dart @@ -242,7 +242,7 @@ class _TransactionCardState extends ConsumerState { "$prefix${Format.localizedStringAsFixed( value: amount.decimal, locale: locale, - decimalPlaces: coin.decimals, + decimalPlaces: amount.fractionDigits, )} $unit", style: STextStyles.itemSubtitle12(context), );