fix
This commit is contained in:
parent
db0841d716
commit
fd2f2aa6f5
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class _SupplyPageState extends State<SupplyPage> {
|
||||||
_formKey.currentState!.save();
|
_formKey.currentState!.save();
|
||||||
|
|
||||||
API()
|
API()
|
||||||
.supplyItem(widget.item.name, variant, "${_priceController.text} €",
|
.supplyItem(widget.item.id, variant, "${_priceController.text} €",
|
||||||
_selectedOrigin, _selectedLocation, _noteController.text)
|
_selectedOrigin, _selectedLocation, _noteController.text)
|
||||||
.then((_) {
|
.then((_) {
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
|
|
Loading…
Reference in a new issue