diff options
Diffstat (limited to 'Hutch/App/DeepLink.swift')
| -rw-r--r-- | Hutch/App/DeepLink.swift | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Hutch/App/DeepLink.swift b/Hutch/App/DeepLink.swift index bbf8885..786891d 100644 --- a/Hutch/App/DeepLink.swift +++ b/Hutch/App/DeepLink.swift @@ -3,6 +3,7 @@ import Foundation /// Represents a parsed `hutch://` deep link. enum DeepLink: Equatable { case home + case work /// hutch://git/<owner>/<repo> case repository(owner: String, repo: String) /// hutch://todo/<owner>/<tracker>/<ticketId> @@ -33,6 +34,9 @@ enum DeepLink: Equatable { case "home", nil: self = .home + case "work", "inbox": + self = .work + case "git" where components.count >= 3: let owner = components[1] let repo = components[2] |
