From 92df34d325bcd5685ae54d9913099f4e0a1805c4 Mon Sep 17 00:00:00 2001 From: Patrick Balsiger Date: Mon, 18 Aug 2025 13:52:00 +0200 Subject: [PATCH] ui --- pkg/ui/ui.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkg/ui/ui.go b/pkg/ui/ui.go index cfd6189..c317f89 100644 --- a/pkg/ui/ui.go +++ b/pkg/ui/ui.go @@ -203,16 +203,17 @@ func (m Model) createAPForm() *huh.Form { Value(&m.appConfig.Wifi.AP.Encryption), huh.NewConfirm(). - Key("done"). - Title("All done?"). + Key("save"). + Title("Apply configuration"). Validate(func(v bool) error { if !v { - return fmt.Errorf("Welp, finish up then") + m.state = stateModeSelection + return nil } return nil }). Affirmative("Yep"). - Negative("Wait, no"), + Negative("Nope"), ), ). WithWidth(45).