Update window id

This commit is contained in:
Ira Limitanei 2024-07-04 11:36:50 +09:00
parent e26f1ea205
commit a84d94cca5
No known key found for this signature in database
GPG Key ID: 3B416C2117091FF3
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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()