mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-10 12:44:31 +00:00
fix: duplicate units displayed
This commit is contained in:
parent
528bc7405c
commit
8155e4afd4
2 changed files with 2 additions and 2 deletions
|
@ -279,7 +279,7 @@ class BalanceSelector<T> 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<StackColors>()!
|
||||
|
|
|
@ -151,7 +151,7 @@ class _WalletSummaryInfoState extends ConsumerState<WalletSummaryInfo> {
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue