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-31 07:44:09 +00:00
committed by GitHub
parent 07559bd7ef
commit 141cc03b60
+3 -3
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)
}
)
}
}