Skip to content

Commit 9cb53fa

Browse files
authored
Merge 8.1.1 hotfix into 8.2 release branch (#5722)
2 parents 5cde1da + f267a33 commit 9cb53fa

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

RELEASE-NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- [***] Now it's possible to filter Order List by multiple statuses and date ranges. Plus, we removed the top tab bar on Orders Tab. [https://github.com/woocommerce/woocommerce-ios/pull/5491]
2323
- [*] Login: Password AutoFill will suggest wordpress.com accounts. [https://github.com/woocommerce/woocommerce-ios/pull/5399]
2424
- [*] Store picker: after logging in with store address, the pre-selected store is now the currently selected store instead of the store from login flow. [https://github.com/woocommerce/woocommerce-ios/pull/5508]
25+
- [*] The application icon number from order push notifications is now cleared after visiting the orders tab. [https://github.com/woocommerce/woocommerce-ios/pull/5715]
2526
- [internal] Migrated Settings screen to MVVM [https://github.com/woocommerce/woocommerce-ios/pull/5393]
2627

2728

WooCommerce/Classes/ViewRelated/Orders/OrdersRootViewController.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,12 @@ final class OrdersRootViewController: UIViewController {
9292
}
9393

9494
override func viewWillAppear(_ animated: Bool) {
95+
super.viewWillAppear(animated)
96+
9597
// Needed in ViewWillAppear because this View Controller is never recreated.
9698
fetchExperimentalTogglesAndConfigureNavigationButtons()
99+
100+
ServiceLocator.pushNotesManager.resetBadgeCount(type: .storeOrder)
97101
}
98102

99103
override var shouldShowOfflineBanner: Bool {

0 commit comments

Comments
 (0)