From 32c0e55b0713a15094c1640e7af70e0ed19d78d6 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Mon, 20 Apr 2026 12:31:57 -0500 Subject: 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 --- Hutch/Views/Home/HomeView.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Hutch') 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() } } -- cgit v1.2.3