We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfa6138 commit 0b038c8Copy full SHA for 0b038c8
ui/src/main/java/io/snabble/sdk/ui/scanner/ProductConfirmationDialog.java
@@ -240,7 +240,7 @@ public void onClick(View v) {
240
}
241
});
242
243
- if (cartQuantity > 0) {
+ if (cartQuantity > 0 && product.getType() == Product.Type.Article) {
244
addToCart.setText(R.string.Snabble_Scanner_updateCart);
245
} else {
246
addToCart.setText(R.string.Snabble_Scanner_addToCart);
0 commit comments