Automatically show the add feed sheet if the user asks to continue in the app on a failed Siri Add Feed

This commit is contained in:
Maurice Parker 2019-10-20 19:05:11 -05:00
parent af16731ecd
commit 94f31b18bc
2 changed files with 3 additions and 0 deletions

View File

@ -16,4 +16,5 @@ enum ActivityType: String {
case selectFeed = "com.ranchero.NetNewsWire.SelectFeed"
case nextUnread = "com.ranchero.NetNewsWire.NextUnread"
case readArticle = "com.ranchero.NetNewsWire.ReadArticle"
case addFeedIntent = "AddFeedIntent"
}

View File

@ -328,6 +328,8 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
selectFirstUnreadInAllUnread()
case .readArticle:
handleReadArticle(activity.userInfo)
case .addFeedIntent:
showAdd(.feed)
}
}