diff --git a/lib/pages/pharmacies/screens/product-details/product-name-and-price.dart b/lib/pages/pharmacies/screens/product-details/product-name-and-price.dart index e9099167..3a6f5c8d 100644 --- a/lib/pages/pharmacies/screens/product-details/product-name-and-price.dart +++ b/lib/pages/pharmacies/screens/product-details/product-name-and-price.dart @@ -121,8 +121,8 @@ class _ProductNameAndPriceState extends State { //color: widget.isStockAvailable ? Colors.white : Colors.red, ), // SizedBox(width: 20), - // if ( - widget.authenticatedUserObject.isLogin && + if ( + widget.authenticatedUserObject.isLogin) widget.stockAvailability != null && !widget.isStockAvailable && widget.customerId != null