File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
core/src/main/java/io/snabble/sdk
ui/src/main/java/io/snabble/sdk/ui/cart Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -401,6 +401,8 @@ public void generateNewUUID() {
401401 uuid = UUID .randomUUID ().toString ();
402402 notifyProductsUpdate (this );
403403 }
404+
405+
404406
405407 public String getUUID () {
406408 return uuid ;
Original file line number Diff line number Diff line change @@ -387,11 +387,6 @@ public void select(PaymentSelectionHelper.Entry entry) {
387387 }
388388
389389 private void setSelectedEntry (Entry entry ) {
390- Entry currentEntry = selectedEntry .getValue ();
391- if (currentEntry != null && entry != null && currentEntry .paymentMethod != entry .paymentMethod ) {
392- cart .generateNewUUID ();
393- }
394-
395390 selectedEntry .postValue (entry );
396391 }
397392
You can’t perform that action at this time.
0 commit comments