mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-06 04:07:54 +00:00
Make persistentIdentifier iOS only for now.
This commit is contained in:
1 parent
4a9e79cd1e
commit
9de3caf3a0
1 file changed
+2
@@ -31,7 +31,9 @@ class ActivityManager {
|
||||
}
|
||||
|
||||
let activity = NSUserActivity(activityType: ActivityType.restoration.rawValue)
|
||||
#if os(iOS)
|
||||
activity.persistentIdentifier = UUID().uuidString
|
||||
#endif
|
||||
activity.becomeCurrent()
|
||||
return activity
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user