mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-21 18:24:41 +00:00
Truncate to double
This commit is contained in:
parent
424cf25052
commit
43b5c50669
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class IoniaCustomRedeemPage extends BasePage {
|
||||||
Observer(builder: (_)=>
|
Observer(builder: (_)=>
|
||||||
!ioniaCustomRedeemViewModel.disableRedeem ?
|
!ioniaCustomRedeemViewModel.disableRedeem ?
|
||||||
Center(
|
Center(
|
||||||
child: Text('\$${giftCard.remainingAmount} - \$${ioniaCustomRedeemViewModel.amount} = \$${ioniaCustomRedeemViewModel.remaining} ${S.of(context).remaining}',
|
child: Text('\$${giftCard.remainingAmount} - \$${ioniaCustomRedeemViewModel.amount} = \$${ioniaCustomRedeemViewModel.remaining.toStringAsFixed(2)} ${S.of(context).remaining}',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Theme.of(context).primaryTextTheme.headline.color,
|
color: Theme.of(context).primaryTextTheme.headline.color,
|
||||||
),),
|
),),
|
||||||
|
|
Loading…
Reference in a new issue