Update window id
This commit is contained in:
parent
e26f1ea205
commit
a84d94cca5
@ -55,7 +55,7 @@ struct Demo: App {
|
||||
.closeShortcut()
|
||||
.defaultSize(width: 400, height: 250)
|
||||
.title("Form Demo")
|
||||
Window(id: "binding-reactor-demo", open: 0) { _ in
|
||||
Window(id: "password-checker-demo", open: 0) { _ in
|
||||
PasswordCheckerDemo.WindowContent()
|
||||
}
|
||||
.closeShortcut()
|
||||
|
||||
@ -58,7 +58,7 @@ struct PasswordCheckerDemo: View {
|
||||
var view: Body {
|
||||
VStack {
|
||||
Button("View Demo") {
|
||||
app.showWindow("binding-reactor-demo")
|
||||
app.showWindow("password-checker-demo")
|
||||
}
|
||||
.suggested()
|
||||
.pill()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user