This commit is contained in:
Patrick Alvin Alcala 2025-02-28 17:02:46 +08:00
parent 6a6b5f45fa
commit 5f0d2e60d2
8 changed files with 70 additions and 57 deletions

View file

@ -73,6 +73,7 @@ class _AddStockPageState extends State<AddStockPage> with WidgetsBindingObserver
final stockExpiration = _dateController.text;
await _stocks.postStock(stockNameUUID, stockExpiration, stockQuantity);
} else {
if (mounted) {
showNotification(context, 'Error: No Internet Connection', false);