From eb9c176f902cdd5a201d496a3d414172f94a1480 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sun, 25 Aug 2019 11:51:08 -0500 Subject: [PATCH] Add unique identifier to Spotlight attributes to prevent duplicate spotlight search results --- Shared/Activity/ActivityFactory.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Shared/Activity/ActivityFactory.swift b/Shared/Activity/ActivityFactory.swift index 447139817..93ca5c892 100644 --- a/Shared/Activity/ActivityFactory.swift +++ b/Shared/Activity/ActivityFactory.swift @@ -38,6 +38,7 @@ class ActivityFactory { attributeSet.title = article.title attributeSet.contentDescription = article.summary attributeSet.keywords = keywords + attributeSet.relatedUniqueIdentifier = article.url if let image = article.avatarImage() { attributeSet.thumbnailData = image.pngData()