minor fixes

This commit is contained in:
Prince
2026-06-21 20:16:21 +02:00
parent b90d95bc63
commit 7de44de068
2 changed files with 6 additions and 6 deletions

View File

@@ -678,7 +678,7 @@ class _PayScreenState extends State<PayScreen> with TickerProviderStateMixin {
onChanged: (String? newValue) {
if (newValue != null) {
BillProduct product = controller.model.products.firstWhere(
(e) => e.uid == newValue,
(e) => e.name == newValue,
);
controller.updateSelectedProduct(product);
}