From d90c32691ae98636b186be7d55c4b0f0cba8ffbb 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. --- iOS/MonsterCards/Views/Search.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/MonsterCards/Views/Search.swift b/iOS/MonsterCards/Views/Search.swift index 883a123..7038878 100644 --- a/iOS/MonsterCards/Views/Search.swift +++ b/iOS/MonsterCards/Views/Search.swift @@ -30,7 +30,7 @@ struct Search: View { } } } - } + }.navigationViewStyle(StackNavigationViewStyle()) } }