Fix merchant.discount.toStringAsFixed issue

This commit is contained in:
M 2022-07-27 18:40:37 +01:00
parent 3a9210c8cb
commit 5148272e42

View file

@ -240,7 +240,7 @@ class _IoniaManageCardsPageBodyState extends State<IoniaManageCardsPageBody> {
backgroundColor: Theme.of(context).textTheme.title.backgroundColor,
titleColor: Theme.of(context).accentTextTheme.display3.backgroundColor,
subtitleColor: Theme.of(context).accentTextTheme.display2.backgroundColor,
discount: merchant.discount.toStringAsFixed(2),
discount: merchant.discount,
);
},
),