File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
WooCommerce/Classes/ViewRelated Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 88- Orders tab: The full total amount is now shown.
99- Order Details & Product UI: if a Product name has HTML escape characters, they should be decoded in the app.
1010- Order Details: if the Order has multiple Products, tapping on any Product should open the same Product now.
11+ - bugfix: the orders badge on tab bar now is correctly refreshed after switching to a store with badge count equal to zero.
1112
12133.5
1314-----
Original file line number Diff line number Diff line change @@ -390,8 +390,7 @@ private extension MainTabBarController {
390390private extension MainTabBarController {
391391 func startListeningToOrdersBadge( ) {
392392 viewModel. onBadgeReload = { [ weak self] countReadableString in
393- guard let self = self ,
394- let badgeText = countReadableString else {
393+ guard let self = self else {
395394 return
396395 }
397396
@@ -402,7 +401,7 @@ private extension MainTabBarController {
402401 return
403402 }
404403
405- orderTab. badgeValue = badgeText
404+ orderTab. badgeValue = countReadableString
406405 orderTab. badgeColor = . primary
407406 }
408407
You can’t perform that action at this time.
0 commit comments