fetch linked items from coredata when network call fails
This commit is contained in:
@ -55,7 +55,7 @@ extension AppDelegate: UNUserNotificationCenterDelegate {
|
||||
withCompletionHandler completionHandler: @escaping () -> Void
|
||||
) {
|
||||
let userInfo = response.notification.request.content.userInfo
|
||||
// TODO: fix
|
||||
// TODO: -push-notification fix
|
||||
// if let linkData = userInfo["link"] as? String {
|
||||
// guard let jsonData = Data(base64Encoded: linkData) else { return }
|
||||
// if let item = FeedItem---D--ep.fromJsonArticle(linkData: jsonData) {
|
||||
|
||||
Reference in New Issue
Block a user