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

This commit is contained in:
Max Goedjen 2022-01-30 23:44:09 -08:00 committed by GitHub
parent 07559bd7ef
commit 141cc03b60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 26 deletions

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)
}
)
}
}