Merge pull request #11 from Cyanose/feature/submit-entry-upon-selecting-product-from-list

submit entry upon clicking on product from list
This commit is contained in:
Doman 2023-08-26 22:23:58 +02:00 committed by GitHub
commit a0aeae8504
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -171,6 +171,7 @@ class _AddEntryScreen extends State<AddEntryScreen> {
products = [product]; products = [product];
productNameController.text = product.name; productNameController.text = product.name;
}); });
_addEntry();
}, },
title: ProductWidget( title: ProductWidget(
product: product, product: product,