aboutsummaryrefslogtreecommitdiff
path: root/Hutch
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-20 12:31:57 -0500
committerChristian Cleberg <[email protected]>2026-04-20 12:31:57 -0500
commit32c0e55b0713a15094c1640e7af70e0ed19d78d6 (patch)
tree0b9537e1dfbcc341f29110766eb39255ff67da17 /Hutch
parent3272d0674dedf8cc864c50e6bdc430b26d5fbba6 (diff)
downloadhutch-32c0e55b0713a15094c1640e7af70e0ed19d78d6.tar.gz
hutch-32c0e55b0713a15094c1640e7af70e0ed19d78d6.tar.bz2
hutch-32c0e55b0713a15094c1640e7af70e0ed19d78d6.zip
fix: change failed builds card on home tab to navigate to builds tab instead of implementing its own view
Fixes: https://todo.sr.ht/~ccleberg/hutch/66
Diffstat (limited to 'Hutch')
-rw-r--r--Hutch/Views/Home/HomeView.swift5
1 files changed, 3 insertions, 2 deletions
diff --git a/Hutch/Views/Home/HomeView.swift b/Hutch/Views/Home/HomeView.swift
index fa7de86..242eeac 100644
--- a/Hutch/Views/Home/HomeView.swift
+++ b/Hutch/Views/Home/HomeView.swift
@@ -135,8 +135,8 @@ struct HomeView: View {
private func buildsSection(_ viewModel: HomeViewModel) -> some View {
Section("Builds") {
- NavigationLink {
- BuildListView()
+ Button {
+ appState.navigateToBuildsList()
} label: {
HomeSummaryRow(
title: buildsTitle(viewModel),
@@ -146,6 +146,7 @@ struct HomeView: View {
emphasis: .monitoring
)
}
+ .buttonStyle(.plain)
.themedRow()
}
}