Move presentation of setup view off of toolbar item, since it's not a popover anymore

This commit is contained in:
Max Goedjen
2022-01-30 23:41:51 -08:00
parent 07559bd7ef
commit 12aa3645ab

View File

@@ -32,6 +32,9 @@ struct ContentView<UpdaterType: UpdaterProtocol, AgentStatusCheckerType: AgentSt
appPathNotice appPathNotice
newItem newItem
} }
.sheet(isPresented: $runningSetup) {
SetupView(visible: $runningSetup, setupComplete: $hasRunSetup)
}
} }
} }
@@ -119,9 +122,6 @@ extension ContentView {
EmptyView() EmptyView()
} }
} }
.sheet(isPresented: $runningSetup) {
SetupView(visible: $runningSetup, setupComplete: $hasRunSetup)
}
) )
} }
} }