File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
ui/src/main/java/io/snabble/sdk/ui/scanner Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 11# Changelog
22All notable changes to this project will be documented in this file.
33
4+ ## [ 0.68.3]
5+
6+ - Fixed a regression when pre-weighed products to the shopping cart
7+
48## [ 0.68.2]
59
610### Fixed
7- - Fixed regression in shopping cart when using multiple manual coupons
11+ - Fixed a regression in shopping cart when using multiple manual coupons
812
913## [ 0.68.1]
1014
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ allprojects {
3333 }
3434
3535 project. ext {
36- sdkVersion= ' 0.68.2 '
36+ sdkVersion= ' 0.68.3 '
3737 versionCode= 1
3838
3939 compileSdkVersion= 31
Original file line number Diff line number Diff line change @@ -105,6 +105,13 @@ interface ProductConfirmationDialog {
105105 } else if (cartItem.product?.type == Product .Type .UserWeighed && quantity.value == 0 ) {
106106 quantity.cycleFreeValue(null )
107107 }
108+
109+ if (newQuantity > 0 && cartItem.product?.type == Product .Type .PreWeighed ) {
110+ quantity.postValue(newQuantity)
111+ quantityCanBeChanged.postValue(false )
112+ quantityVisible.postValue(true )
113+ }
114+
108115 addToCartButtonText.postString(R .string.Snabble_Scanner_addToCart )
109116 quantityContentDescription.postNullableString(
110117 R .string.Snabble_Scanner_Accessibility_eventQuantityUpdate ,
You can’t perform that action at this time.
0 commit comments