Skip to content

Commit

Permalink
Remove duplicate NetP notifications (#2057)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/0/1205617766971743/f

Description:

On introducing notifications to NetP, I noticed that they were a big noisy. This PR can be merged to deal with that if we agree.
  • Loading branch information
graeme authored Sep 30, 2023
1 parent 22caef3 commit 3c0bd51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ final class NetworkProtectionUNNotificationPresenter: NSObject, NetworkProtectio
guard authorized else {
return
}

self.userNotificationCenter.removeDeliveredNotifications(withIdentifiers: [identifier.rawValue])
self.userNotificationCenter.add(request)
}
}
Expand Down

0 comments on commit 3c0bd51

Please sign in to comment.