From 4d8271c45d24ec836024e793a0ee6f12929e7bda Mon Sep 17 00:00:00 2001 From: Fatimah Alshammari Date: Thu, 25 Nov 2021 08:21:40 +0300 Subject: [PATCH] fix product details issue --- .../screens/product-details/product-name-and-price.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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