This commit is contained in:
JMARyA 2024-09-17 00:09:58 +02:00
parent bd054b0a9f
commit 47876a8c7c
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -103,7 +103,8 @@ class _SupplyPageState extends State<SupplyPage> {
onSelected: (String selection) async {
var price = _price.isEmpty
? await API()
.getLatestPrice(widget.item.id, variant)
.getLatestPrice(widget.item.id, variant,
origin: selection)
.then((x) => x.value.toStringAsFixed(2))
: _price;
setState(() {