summaryrefslogtreecommitdiff
path: root/Hutch/App/AppState.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-12 18:53:13 -0500
committerChristian Cleberg <[email protected]>2026-04-12 18:53:13 -0500
commitb526cddd8ec421eba00feecbdffae3978cb61b34 (patch)
treef8426032d07a92d034975e90decd1ec0f85bd452 /Hutch/App/AppState.swift
parent92fb89cd35588ee36190c95b1af1e9595b397fae (diff)
downloadhutch-2.16.0.tar.gz
hutch-2.16.0.tar.bz2
hutch-2.16.0.zip
feat: improve Home structure and navigationv2.16.0
implements: https://todo.sr.ht/~ccleberg/hutch/14 implements: https://todo.sr.ht/~ccleberg/hutch/15 implements: https://todo.sr.ht/~ccleberg/hutch/16
Diffstat (limited to 'Hutch/App/AppState.swift')
-rw-r--r--Hutch/App/AppState.swift6
1 files changed, 6 insertions, 0 deletions
diff --git a/Hutch/App/AppState.swift b/Hutch/App/AppState.swift
index 35ac77f..0f0b036 100644
--- a/Hutch/App/AppState.swift
+++ b/Hutch/App/AppState.swift
@@ -20,6 +20,7 @@ final class AppState {
case tracker(TrackerSummary)
case mailingList(InboxMailingListReference)
case systemStatus
+ case builds
}
enum AuthPhase {
@@ -309,6 +310,11 @@ final class AppState {
selectedTab = .more
}
+ func navigateToBuildsList() {
+ pendingTabNavigation = .builds
+ selectedTab = .builds
+ }
+
func presentRepositoryDeepLinkError() {
deepLinkError = "The repository could not be found or is inaccessible."
}