change validation to be submission callback based

This commit is contained in:
Robin Olsen
2026-03-04 22:43:28 +01:00
parent 5a9a8238d9
commit 3d183d7fcd
4 changed files with 27 additions and 34 deletions

View File

@@ -17,6 +17,8 @@ type App struct {
CurrentFeedback *ValidationFeedback
ActionLogger func(string)
SubmitChan chan<- struct{}
}
func (a *App) LogAction(action string) {