This PR removes the NavigationStack dependence from the AccountSetup view by presenting the SignupForm as a sheet. Further, the AccountOverview now requires to be placed into a NavigationStack and doesn't automatically create one by itself.
:gear: Release Notes
AccountSetup doesn't use a NavigationStack anymore by presenting the SignupForm as a sheet.
The AccountSetup doesn't place itself automatically in a NavigationStack anymore and thus requires one to be present in the view hierarchy already.
:books: Documentation
Documentation was updated to reflect those new requirements.
:white_check_mark: Testing
Tests were updated and adjusted.
:pencil: Code of Conduct & Contributing Guidelines
Remove NavigationStacks from Setup and Overview and display SignupForm as a sheet
:recycle: Current situation & Problem
Currently, we automatically place a
NavigationStack
in theAccountSetup
andAccountOverview
views which causes due to nested NavigationStacks like in https://github.com/StanfordSpezi/SpeziOnboarding/issues/21.This PR removes the NavigationStack dependence from the
AccountSetup
view by presenting theSignupForm
as a sheet. Further, theAccountOverview
now requires to be placed into a NavigationStack and doesn't automatically create one by itself.:gear: Release Notes
AccountSetup
doesn't use a NavigationStack anymore by presenting theSignupForm
as a sheet.AccountSetup
doesn't place itself automatically in a NavigationStack anymore and thus requires one to be present in the view hierarchy already.:books: Documentation
Documentation was updated to reflect those new requirements.
:white_check_mark: Testing
Tests were updated and adjusted.
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines: