fetch linked items from coredata when network call fails

This commit is contained in:
Satindar Dhillon
2022-04-23 09:06:03 -07:00
parent a63bf7928e
commit 46da1cd150
16 changed files with 35 additions and 37 deletions

View File

@ -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) {