Replace Binding Reactor with Password Checker
This commit is contained in:
parent
fbd0f2a117
commit
e26f1ea205
@ -56,7 +56,7 @@ struct Demo: App {
|
||||
.defaultSize(width: 400, height: 250)
|
||||
.title("Form Demo")
|
||||
Window(id: "binding-reactor-demo", open: 0) { _ in
|
||||
BindingReactorDemo.WindowContent()
|
||||
PasswordCheckerDemo.WindowContent()
|
||||
}
|
||||
.closeShortcut()
|
||||
.defaultSize(width: 400, height: 250)
|
||||
|
||||
@ -25,7 +25,7 @@ enum Page: String, Identifiable, CaseIterable, Codable, CustomStringConvertible
|
||||
case carousel
|
||||
case viewSwitcher
|
||||
case form
|
||||
case bindingReactor
|
||||
case passwordChecker
|
||||
case popover
|
||||
case flowBox
|
||||
case navigationView
|
||||
@ -46,7 +46,7 @@ enum Page: String, Identifiable, CaseIterable, Codable, CustomStringConvertible
|
||||
return "Navigation View"
|
||||
case .alertDialog:
|
||||
return "Alert Dialog"
|
||||
case .bindingReactor:
|
||||
case .passwordChecker:
|
||||
return "Binding Reactor"
|
||||
default:
|
||||
return rawValue.capitalized
|
||||
@ -90,7 +90,7 @@ enum Page: String, Identifiable, CaseIterable, Codable, CustomStringConvertible
|
||||
return "Switch the window's view"
|
||||
case .form:
|
||||
return "Group controls used for data entry"
|
||||
case .bindingReactor:
|
||||
case .passwordChecker:
|
||||
return "React to binding variable changes"
|
||||
case .popover:
|
||||
return "Present content in a bubble-like context popup"
|
||||
@ -135,8 +135,8 @@ enum Page: String, Identifiable, CaseIterable, Codable, CustomStringConvertible
|
||||
ViewSwitcherDemo(app: app)
|
||||
case .form:
|
||||
FormDemo(app: app)
|
||||
case .bindingReactor:
|
||||
BindingReactorDemo(app: app)
|
||||
case .passwordChecker:
|
||||
PasswordCheckerDemo(app: app)
|
||||
case .popover:
|
||||
PopoverDemo()
|
||||
case .flowBox:
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
//
|
||||
// BindingReactorDemo.swift
|
||||
// PasswordCheckerDemo.swift
|
||||
// Adwaita
|
||||
//
|
||||
// Created by lambdaclan on 13.06.24.
|
||||
@ -51,7 +51,7 @@ enum PasswordChecker: String, CaseIterable, CustomStringConvertible, Identifiabl
|
||||
}
|
||||
}
|
||||
|
||||
struct BindingReactorDemo: View {
|
||||
struct PasswordCheckerDemo: View {
|
||||
|
||||
var app: GTUIApp
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user