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
No known key found for this signature in database
GPG Key ID: E58C21DD77B9B8E8

View File

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