From 94d0b581bbd2be7b63c07fe7f86d736daa96e1f9 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Tue, 24 Mar 2026 18:28:21 -0500 Subject: v2.4.0: widgets --- Hutch/App/DeepLink.swift | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Hutch/App/DeepLink.swift') diff --git a/Hutch/App/DeepLink.swift b/Hutch/App/DeepLink.swift index a4b8269..e42bd6b 100644 --- a/Hutch/App/DeepLink.swift +++ b/Hutch/App/DeepLink.swift @@ -2,6 +2,7 @@ import Foundation /// Represents a parsed `hutch://` deep link. enum DeepLink: Equatable { + case home /// hutch://git// case repository(owner: String, repo: String) /// hutch://todo/// @@ -19,6 +20,9 @@ enum DeepLink: Equatable { let components = url.pathComponents(fromScheme: "hutch") switch components.first { + case "home", nil: + self = .home + case "git" where components.count >= 3: let owner = components[1] let repo = components[2] -- cgit v1.2.3