From cd3c98cce497c2753dfeddf1a1876cef4d4a3283 Mon Sep 17 00:00:00 2001 From: Daniel Haight Date: Tue, 14 Dec 2021 22:25:59 +0000 Subject: [PATCH] Add button to show history placeholder from --- secant/Features/Home/Views/HomeView.swift | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/secant/Features/Home/Views/HomeView.swift b/secant/Features/Home/Views/HomeView.swift index 09f5c15..f91f61e 100644 --- a/secant/Features/Home/Views/HomeView.swift +++ b/secant/Features/Home/Views/HomeView.swift @@ -55,6 +55,15 @@ struct HomeView: View { } } + Section(header: Text("Modal Routes")) { + ForEach(modalRoutes) { routeValue in + Button( + action: { viewStore.send(.updateRoute(routeValue.route)) }, + label: { Text("\(String(describing: routeValue.route))") } + ) + } + } + Section(header: Text("Other Actions")) { Button( action: { viewStore.toggleSelectedTransaction() },