Refactor: EditableTextView.Changed() and the Canceled spelling

EditableTextView.Changed is a method like every other result's.
AlertDialogResult, PopconfirmResult and DateTimeResult spell Canceled
the American way, matching EditableTextView and LoadingOverlayResult.
Callers, Gallery and docs updated.
This commit is contained in:
ZacharyZhang-NY committed 2026-10-05 13:50:02 -04:00
1 parent 5d395ad789
commit c0be05d043
22 files changed
+306 -72

No files matched your search

+4 -4
View File
@@ -140,8 +140,8 @@ func alertDialogDemo(c *ui.Context, log func(string)) {
if r.Confirmed {
log("confirmed")
}
if r.Cancelled {
log("cancelled")
if r.Canceled {
log("canceled")
}
}
@@ -428,8 +428,8 @@ func popconfirmDemo(c *ui.Context, log func(string)) {
if r.Confirmed {
log("confirmed")
}
if r.Cancelled {
log("cancelled")
if r.Canceled {
log("canceled")
}
}