mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Add ArticleFetcherType and change state restoration to use new type.
This commit is contained in:
@@ -53,7 +53,7 @@ private extension UserNotificationManager {
|
||||
}
|
||||
|
||||
content.sound = UNNotificationSound.default
|
||||
content.userInfo = article.deepLinkUserInfo
|
||||
content.userInfo = [UserInfoKey.articlePath: article.pathUserInfo]
|
||||
|
||||
let request = UNNotificationRequest.init(identifier: "articleID:\(article.articleID)", content: content, trigger: nil)
|
||||
UNUserNotificationCenter.current().add(request)
|
||||
|
||||
Reference in New Issue
Block a user