From 8155e4afd4f99e9ae0f6cf08f57b04849529eb8e Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 29 May 2023 16:53:22 -0600 Subject: [PATCH] fix: duplicate units displayed --- .../wallet_view/sub_widgets/wallet_balance_toggle_sheet.dart | 2 +- lib/pages/wallet_view/sub_widgets/wallet_summary_info.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pages/wallet_view/sub_widgets/wallet_balance_toggle_sheet.dart b/lib/pages/wallet_view/sub_widgets/wallet_balance_toggle_sheet.dart index 6fbeb479f..d7786959a 100644 --- a/lib/pages/wallet_view/sub_widgets/wallet_balance_toggle_sheet.dart +++ b/lib/pages/wallet_view/sub_widgets/wallet_balance_toggle_sheet.dart @@ -279,7 +279,7 @@ class BalanceSelector extends ConsumerWidget { height: 2, ), Text( - "${ref.watch(pAmountFormatter(coin)).format(balance)} ${coin.ticker}", + ref.watch(pAmountFormatter(coin)).format(balance), style: STextStyles.itemSubtitle12(context).copyWith( color: Theme.of(context) .extension()! diff --git a/lib/pages/wallet_view/sub_widgets/wallet_summary_info.dart b/lib/pages/wallet_view/sub_widgets/wallet_summary_info.dart index a0c437e1b..7bb35dcf1 100644 --- a/lib/pages/wallet_view/sub_widgets/wallet_summary_info.dart +++ b/lib/pages/wallet_view/sub_widgets/wallet_summary_info.dart @@ -151,7 +151,7 @@ class _WalletSummaryInfoState extends ConsumerState { FittedBox( fit: BoxFit.scaleDown, child: SelectableText( - "${ref.watch(pAmountFormatter(coin)).format(balanceToShow)} ${coin.ticker}", + ref.watch(pAmountFormatter(coin)).format(balanceToShow), style: STextStyles.pageTitleH1(context).copyWith( fontSize: 24, color: Theme.of(context)