From c1bf39aba7a4084e57c55e5f4ed2aa59c4f6de80 Mon Sep 17 00:00:00 2001 From: Tom Hicks Date: Sun, 21 Mar 2021 14:23:38 -0700 Subject: [PATCH] Changes the NavigationView to stack navigation style so the save button on EditMonster takes you back to MonsterDetail instead of the root of the NavigationView. --- MonsterCards/Views/Search.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MonsterCards/Views/Search.swift b/MonsterCards/Views/Search.swift index 883a123..7038878 100644 --- a/MonsterCards/Views/Search.swift +++ b/MonsterCards/Views/Search.swift @@ -30,7 +30,7 @@ struct Search: View { } } } - } + }.navigationViewStyle(StackNavigationViewStyle()) } }