small tweak to config
This commit is contained in:
parent
12f2b41cc3
commit
d403225743
@ -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
|
||||
*/
|
||||
|
||||
|
||||
@ -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,
|
||||
)
|
||||
],
|
||||
),
|
||||
],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user