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 Developer Notes
SUPPORT EMAIL - support@woosignal.com SUPPORT EMAIL - support@woosignal.com
VERSION - 2.0.2 VERSION - 2.0.3
https://woosignal.com https://woosignal.com
*/ */

View File

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