mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
Update decimals formatting for tips group. (#444)
This commit is contained in:
parent
b777dd9e7b
commit
66efb635ce
1 changed files with 2 additions and 2 deletions
|
@ -394,8 +394,8 @@ class TipButtonGroup extends StatelessWidget {
|
|||
child: TipButton(
|
||||
isSelected: _isSelected(tip.percentage),
|
||||
onTap: () => onSelect(tip),
|
||||
caption: '${tip.percentage}%',
|
||||
subTitle: '\$${tip.additionalAmount}',
|
||||
caption: '${tip.percentage.toStringAsFixed(0)}%',
|
||||
subTitle: '\$${tip.additionalAmount.toStringAsFixed(2)}',
|
||||
));
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue