summaryrefslogtreecommitdiff
path: root/Hutch/App/AppState.swift
diff options
context:
space:
mode:
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."
}