Skip to content

Commit 3c36855

Browse files
committed
Fixed shopping cart view not updating on manual clearing
1 parent 2d35ea4 commit 3c36855

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/src/main/java/io/snabble/sdk/ui/cart/ShoppingCartView.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ private void onCartUpdated() {
249249
updatePayText();
250250
updateEmptyState();
251251

252+
recyclerViewAdapter.notifyDataSetChanged();
253+
252254
if (snackbar != null) {
253255
snackbar.dismiss();
254256
}

0 commit comments

Comments
 (0)