small tweak to config

This commit is contained in:
WooSignal 2020-05-12 10:20:04 +01:00
parent 12f2b41cc3
commit d403225743
2 changed files with 14 additions and 13 deletions

View File

@ -16,7 +16,7 @@ import 'dart:ui';
Developer Notes
SUPPORT EMAIL - support@woosignal.com
VERSION - 2.0.2
VERSION - 2.0.3
https://woosignal.com
*/

View File

@ -499,19 +499,20 @@ Widget wsCardCartItem(BuildContext context,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
Text(
(cartLineItem.stockStatus == "outofstock"
? trans(context, "Out of stock")
: trans(context, "In Stock")),
style: (cartLineItem.stockStatus == "outofstock"
? Theme.of(context).textTheme.caption
: Theme.of(context)
.primaryTextTheme
.bodyText2)),
(cartLineItem.stockStatus == "outofstock"
? trans(context, "Out of stock")
: trans(context, "In Stock")),
style: (cartLineItem.stockStatus == "outofstock"
? Theme.of(context).textTheme.caption
: Theme.of(context).primaryTextTheme.bodyText2),
),
Text(
formatDoubleCurrency(
total: parseWcPrice(cartLineItem.total)),
style: Theme.of(context).primaryTextTheme.subtitle1,
textAlign: TextAlign.center)
formatDoubleCurrency(
total: parseWcPrice(cartLineItem.total),
),
style: Theme.of(context).primaryTextTheme.subtitle1,
textAlign: TextAlign.center,
)
],
),
],