Skip to content

Commit c1ea9d6

Browse files
committed
Fixed shopping cart not updating when returning to activity
1 parent e99b101 commit c1ea9d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ public void onDetachedFromWindow() {
299299
public void onActivityStarted(Activity activity) {
300300
if (UIUtils.getHostActivity(getContext()) == activity) {
301301
registerListeners();
302+
onCartUpdated();
302303
}
303304
}
304305

0 commit comments

Comments
 (0)