Create UserNotificationManager.shared.

This commit is contained in:
Brent Simmons
2025-02-01 20:06:58 -08:00
parent 687d3a0cec
commit 4df2e10cf2
3 changed files with 4 additions and 4 deletions

View File

@@ -13,6 +13,8 @@ import UserNotifications
final class UserNotificationManager: NSObject {
static let shared = UserNotificationManager()
override init() {
super.init()
NotificationCenter.default.addObserver(self, selector: #selector(accountDidDownloadArticles(_:)), name: .AccountDidDownloadArticles, object: nil)