Skip to content

Commit cbe396c

Browse files
committed
Cancel all local notification scenarios after logging in succesfully.
1 parent 50ca34b commit cbe396c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WooCommerce/Classes/Authentication/AuthenticationManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ extension AuthenticationManager: WordPressAuthenticatorDelegate {
341341
}
342342

343343
if ServiceLocator.featureFlagService.isFeatureFlagEnabled(.loginErrorNotifications) {
344-
ServiceLocator.pushNotesManager.cancelLocalNotification(scenarios: [.loginSiteAddressError])
344+
ServiceLocator.pushNotesManager.cancelLocalNotification(scenarios: LocalNotification.Scenario.allCases)
345345
}
346346

347347
let matcher = ULAccountMatcher(storageManager: storageManager)

0 commit comments

Comments
 (0)