File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
WooCommerce/Classes/Authentication Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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)
@@ -496,7 +496,7 @@ private extension AuthenticationManager {
496496 }
497497
498498 if let notification = notification {
499- ServiceLocator . pushNotesManager. cancelLocalNotification ( scenarios: [ notification . scenario ] )
499+ ServiceLocator . pushNotesManager. cancelLocalNotification ( scenarios: LocalNotification . Scenario . allCases )
500500 ServiceLocator . pushNotesManager. requestLocalNotification ( notification,
501501 // 24 hours from now.
502502 trigger: UNTimeIntervalNotificationTrigger ( timeInterval: 86400 , repeats: false ) )
You can’t perform that action at this time.
0 commit comments