From 2ee441f8cbab717978f4b369006faf349c4cca7c Mon Sep 17 00:00:00 2001 From: Fabian Bender Date: Wed, 19 Nov 2025 13:36:11 +0100 Subject: [PATCH] fix missing container selection --- CHANGELOG.md | 4 ++++ .../java/io/snabble/sdk/ui/scanner/SelectBundleDialog.java | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 578a5bbf85..f3f88aaeed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ All notable changes to this project will be documented in this file. ### Removed ### Fixed +## [0.82.6] +### Fixed +* ui: Fix missing container selection + ## [0.82.5] ### Changed * Dependency updates diff --git a/ui/src/main/java/io/snabble/sdk/ui/scanner/SelectBundleDialog.java b/ui/src/main/java/io/snabble/sdk/ui/scanner/SelectBundleDialog.java index e382db0820..70f0a1f4d6 100644 --- a/ui/src/main/java/io/snabble/sdk/ui/scanner/SelectBundleDialog.java +++ b/ui/src/main/java/io/snabble/sdk/ui/scanner/SelectBundleDialog.java @@ -47,7 +47,7 @@ public void click() { listOfProducts.add(product); for (Product p : bundles) { - if (p.getListPrice() != 0 && p.getAvailability() != Product.Availability.NOT_AVAILABLE) { + if (p.getAvailability() != Product.Availability.NOT_AVAILABLE) { listOfProducts.add(p); } } @@ -84,4 +84,4 @@ public interface Callback { void onProductSelected(Product product); void onDismissed(); } -} \ No newline at end of file +}